Subject: CVS commit: src/sys/dev/raidframe
To: None <source-changes@NetBSD.org>
From: Greg Oster <oster@netbsd.org>
List: source-changes
Date: 03/19/2004 17:01:26
Module Name:	src
Committed By:	oster
Date:		Fri Mar 19 17:01:26 UTC 2004

Modified Files:
	src/sys/dev/raidframe: rf_dag.h rf_dagutils.c rf_dagutils.h rf_netbsd.h

Log Message:
Introduce a dual-purpose pool for providing pointer and param "caches"
for RF_DagNode_t's.  Scale the structure size based on RF_MAXCOL.
Use the new allocation method in InitNode().  Note that we can't get
rid of the mallocs in there until we can prove that this new
allocation method is a strict upper bound.  Unless someone tries
running a RAID set with 40 components, the mallocs here shouldn't
shouldn't be an issue.  (and if someone does make a set with 40 components
they will run into other issues with other constants long before
then)


To generate a diff of this commit:
cvs rdiff -r1.13 -r1.14 src/sys/dev/raidframe/rf_dag.h
cvs rdiff -r1.39 -r1.40 src/sys/dev/raidframe/rf_dagutils.c
cvs rdiff -r1.11 -r1.12 src/sys/dev/raidframe/rf_dagutils.h
cvs rdiff -r1.17 -r1.18 src/sys/dev/raidframe/rf_netbsd.h

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