Subject: CVS commit: syssrc/sys/kern
To: None <source-changes@netbsd.org>
From: Jason R Thorpe <thorpej@netbsd.org>
List: source-changes
Date: 07/30/2002 04:41:00
Module Name:	syssrc
Committed By:	thorpej
Date:		Tue Jul 30 01:41:00 UTC 2002

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

Log Message:
Bring down a fix from the "newlock" branch, slightly modified:
* 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").
* 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.77 -r1.78 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.