cvs commit: src/sys/sys slaballoc.h src/sys/kern kern_slaballoc.c
Matthew Dillon
dillon at crater.dragonflybsd.org
Mon Jun 20 13:50:17 PDT 2005
dillon 2005/06/20 13:49:14 PDT
DragonFly src repository
Modified files:
sys/sys slaballoc.h
sys/kern kern_slaballoc.c
Log:
Include a bitmap of allocated entries when built with INVARIANTS. I
considered making this a separate option but decided it was too important
to leave out of a basic INVARIANTS build.
The kernel will panic if it tries to allocate memory that has already
been allocated or free memory that has already been freed.
Revision Changes Path
1.8 +3 -0 src/sys/sys/slaballoc.h
1.33 +62 -2 src/sys/kern/kern_slaballoc.c
http://www.dragonflybsd.org/cvsweb/src/sys/sys/slaballoc.h.diff?r1=1.7&r2=1.8&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/kern/kern_slaballoc.c.diff?r1=1.32&r2=1.33&f=u
More information about the Commits
mailing list