Subject: CVS commit: src/lib/libpuffs
To: None <source-changes@NetBSD.org>
From: Antti Kantee <pooka@netbsd.org>
List: source-changes
Date: 05/19/2007 11:01:23
Module Name:	src
Committed By:	pooka
Date:		Sat May 19 11:01:21 UTC 2007

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

Log Message:
Allocate buf in 4k chunks instead of 64k chunks.  If we are seriously
reclaiming and the network/server is slow, we might have thousands
of buffers allocated at the same time causing the process to run
out of vm space.  Rate limiting the number of outstanding ops would
be a nicer choice, but that requires more complex changes.


To generate a diff of this commit:
cvs rdiff -r1.10 -r1.11 src/lib/libpuffs/framebuf.c

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