Subject: CVS commit: [netbsd-1-6] syssrc/sys/kern
To: None <source-changes@netbsd.org>
From: Havard Eidnes <he@netbsd.org>
List: source-changes
Date: 11/12/2002 01:31:45
Module Name: syssrc
Committed By: he
Date: Mon Nov 11 23:31:45 UTC 2002
Modified Files:
syssrc/sys/kern [netbsd-1-6]: subr_pool.c
Log Message:
Pull up revision 1.78 (requested by thorpej in ticket #582):
Bring down a fix from the "newlock" branch, slightly modified:
o In pool_prime_page(), assert that the object being placed
onto the free list meets the alignment constraints (that
"ioff" within the object is aligned to "align").
o In pool_init(), round up the object size to the alignment
value (or ALIGN(1), if no special alignment is needed) so
that the above invariant holds true.
To generate a diff of this commit:
cvs rdiff -r1.76 -r1.76.6.1 syssrc/sys/kern/subr_pool.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.