Subject: CVS commit: syssrc/sys/ufs/ffs
To: None <source-changes@netbsd.org>
From: Chuck Silvers <chs@netbsd.org>
List: source-changes
Date: 09/15/2001 19:33:53
Module Name:	syssrc
Committed By:	chs
Date:		Sat Sep 15 16:33:53 UTC 2001

Modified Files:
	syssrc/sys/ufs/ffs: ffs_softdep.c

Log Message:
use pools for allocating most softdep datastructures.  since we want to
allocate memory from kernel_map but some of the objects are freed from
interrupt context, we put objects on a queue instead of freeing them
immediately.  then in softdep_process_worklist() (which is called at
least once per second from the syncer), we process that queue and
free all the objects.  allocating from kernel_map instead of from kmem_map
allows us to have a much larger number of softdeps pending even in
configurations where kmem_map is relatively small.


To generate a diff of this commit:
cvs rdiff -r1.15 -r1.16 syssrc/sys/ufs/ffs/ffs_softdep.c

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