Subject: CVS commit: src/sys/kern
To: None <source-changes@NetBSD.org>
From: David Laight <dsl@netbsd.org>
List: source-changes
Date: 06/02/2007 13:38:31
Module Name: src
Committed By: dsl
Date: Sat Jun 2 13:38:31 UTC 2007
Modified Files:
src/sys/kern: sys_generic.c
Log Message:
Instead of unconditionally initialising the ktriov and conditionally
copying in aiov, just unconditionally copy in aiov.
Probably saves a mispredicted branch and a data cache miss - as well as
removing some code.
To generate a diff of this commit:
cvs rdiff -r1.100 -r1.101 src/sys/kern/sys_generic.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.