Subject: CVS commit: src/lib/libpuffs
To: None <source-changes@NetBSD.org>
From: Antti Kantee <pooka@netbsd.org>
List: source-changes
Date: 01/29/2008 14:54:08
Module Name:	src
Committed By:	pooka
Date:		Tue Jan 29 14:54:08 UTC 2008

Modified Files:
	src/lib/libpuffs: requests.c

Log Message:
When reading a request from the kernel, only allocate as much memory
as needed to read a request instead of the maximum message size.
Insanely enough, this makes "cheap backend I/O" file systems such
dtfs and sysctlfs perform 10-30% better (depending on the average
size of incoming requests).


To generate a diff of this commit:
cvs rdiff -r1.22 -r1.23 src/lib/libpuffs/requests.c

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