Debugging Slab Available

Mark Hemment (markhe@nextd.demon.co.uk)
Wed, 28 May 1997 21:51:45 +0100 (BST)


Hi David/All,

I've made the red-zoning, and object poisioning, more reliable and on by
default for the general-size caches. This should help catch any mis-uses
of slab allocated memory.

Unfortunately, it will not say who is mis-behaving, but it is at least a
start. Look for warnings in your message log file.

Source is available from http://www.nextd.demon.co.uk
It is a simple drop-in replacement for mm/slab.c. Should work for kernels
2.1.38->2.1.41

Note: This has had only a small amount of testing, and will _slow_ your
system down. Only use if you think you may have a memory problem.

Regards,

markhe

------------------------------------------------------------------
Mark Hemment, Unix/C Software Engineer (Contractor)
markhe@nextd.demon.co.uk http://www.nextd.demon.co.uk/
"Success has many fathers, failure is a B**TARD!" - anon
------------------------------------------------------------------