Subject: CVS commit: src/sys/arch/i386/i386
To: None <source-changes@NetBSD.org>
From: David Laight <dsl@netbsd.org>
List: source-changes
Date: 11/21/2007 00:15:09
Module Name:	src
Committed By:	dsl
Date:		Wed Nov 21 00:15:08 UTC 2007

Modified Files:
	src/sys/arch/i386/i386: copy.S

Log Message:
When copying system call arguments into kernel space, either copy 4
arguments (enough for the majority of calls) or the maximum of 10 (8 plus
2 for sys__syscall).
Avoids all the unlikely-to-be-predicted-correctly in the unrolled loop.
This might be a problem if a thread's stack doesn't have the extra args
mapped - but that is extremely unlikely.


To generate a diff of this commit:
cvs rdiff -r1.10 -r1.11 src/sys/arch/i386/i386/copy.S

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.