From c7158d945f4cca26b22a5ca859aeee40c30c60c7 Mon Sep 17 00:00:00 2001 From: Matthew Dillon Date: Wed, 27 Aug 2003 15:55:18 +0000 Subject: [PATCH] oops. Forgot a commit. --- sys/sys/slaballoc.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/sys/sys/slaballoc.h b/sys/sys/slaballoc.h index e1a5dd5b70..1dec3d9fb2 100644 --- a/sys/sys/slaballoc.h +++ b/sys/sys/slaballoc.h @@ -25,7 +25,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $DragonFly: src/sys/sys/slaballoc.h,v 1.1 2003/08/27 01:43:07 dillon Exp $ + * $DragonFly: src/sys/sys/slaballoc.h,v 1.2 2003/08/27 15:55:18 dillon Exp $ */ #ifndef _SYS_SLABALLOC_H_ @@ -74,9 +74,12 @@ typedef struct SLZone { int z_ChunkSize; /* chunk size for validation */ int z_FirstFreePg; /* chunk list on a page-by-page basis */ int z_ZoneIndex; + int z_Flags; SLChunk *z_PageAry[ZALLOC_MAX_ZONE_SIZE / PAGE_SIZE]; } SLZone; +#define SLZF_UNOTZEROD 0x0001 + typedef struct SLGlobalData { SLZone *ZoneAry[NZONES]; /* linked list of zones NFree > 0 */ SLZone *FreeZones; /* whole zones that have become free */ -- 2.41.0