DEBUG_SLAB depends on SLAB
PATCH 1/1 DEBUG_SLAB depends on SLAB
another SLOB related patch: make DEBUG_SLAB depend on SLAB.
lib/Kconfig.debug +1 -1
@@ -100,7 +100,7 @@ config SCHEDSTATS config DEBUG_SLAB bool "Debug memory allocations" - depends on DEBUG_KERNEL + depends on DEBUG_KERNEL && SLAB help Say Y here to have the kernel do limited verification on memory allocation as well as poisoning memory on free to catch use of freed
SLOB wishlist
btw., here's my SLOB wishlist:
- would be nice to have DEBUG_SLOB - people want to debug their memory allocations, no matter which allocator they use.
- would be nice to have CONFIG_SLOB_INFO, to have /proc/slabinfo for those who are ready to pay the .text price for it - this is nice for memory leak debugging, etc. [should be /proc/slabinfo, not /proc/slobinfo - to stay compatible with things like slabtop]
Ingo
Re: SLOB wishlist
Quoted 5 lines · Ingo Molnar
btw., here's my SLOB wishlist:
- would be nice to have
DEBUG_SLOB- people want to debug their memory allocations, no matter which allocator they use.
I have a patch somewhere for that.
Quoted 4 lines
- would be nice to have
CONFIG_SLOB_INFO, to have/proc/slabinfofor those who are ready to pay the .text price for it - this is nice for memory leak debugging, etc. [should be/proc/slabinfo, not/proc/slobinfo- to stay compatible with things like slabtop]
Might make more sense to use my /proc/kmalloc patch for this.
Signature · 1 line
Mathematics is the supreme nostalgia of our time.
Quoted 3 lines · Ingo Molnar
another SLOB related patch: make
DEBUG_SLABdepend on SLAB.Signed-off-by Ingo Molnar <[email protected]>
Quoted 14 lines
Index: linux/lib/Kconfig.debug
===================================================================lib/Kconfig.debug +1
-1@@ -100,7 +100,7 @@ config SCHEDSTATS config DEBUG_SLAB bool "Debug memory allocations" - depends on DEBUG_KERNEL + depends on DEBUG_KERNEL && SLAB help Say Y here to have the kernel do limited verification on memory allocation as well as poisoning memory on free to catch use of freed
Signature · 1 line
Mathematics is the supreme nostalgia of our time.