Subject: CVS commit: src/sys/kern
To: None <source-changes@NetBSD.org>
From: enami tsugutomo <enami@netbsd.org>
List: source-changes
Date: 02/22/2004 00:19:48
Module Name:	src
Committed By:	enami
Date:		Sun Feb 22 00:19:48 UTC 2004

Modified Files:
	src/sys/kern: subr_pool.c

Log Message:
Modify pool page header allocation strategy as follows:
In addition to current one (i.e., don't wast so large part of the page),
- if the header fitsin the page without wasting any items, put it there.
- don't put the header in the page if it may consume rather big item.

For example, on i386, header is now allocated in the page for the pools
like fdescpl or sigapl, and allocated off the page for the pools like
buf1k or buf2k.


To generate a diff of this commit:
cvs rdiff -r1.91 -r1.92 src/sys/kern/subr_pool.c

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