-
- Downloads
Unify /proc/slabinfo configuration
Both SLUB and SLAB really did almost exactly the same thing for /proc/slabinfo setup, using duplicate code and per-allocator #ifdef's. This just creates a common CONFIG_SLABINFO that is enabled by both SLUB and SLAB, and shares all the setup code. Maybe SLOB will want this some day too. Reviewed-by:Pekka Enberg <penberg@cs.helsinki.fi> Signed-off-by:
Linus Torvalds <torvalds@linux-foundation.org>
Showing
- fs/proc/proc_misc.c 2 additions, 19 deletionsfs/proc/proc_misc.c
- include/linux/slab.h 5 additions, 0 deletionsinclude/linux/slab.h
- include/linux/slab_def.h 0 additions, 3 deletionsinclude/linux/slab_def.h
- include/linux/slub_def.h 0 additions, 2 deletionsinclude/linux/slub_def.h
- init/Kconfig 6 additions, 0 deletionsinit/Kconfig
- mm/slab.c 1 addition, 1 deletionmm/slab.c
- mm/slub.c 9 additions, 2 deletionsmm/slub.c
Loading
Please register or sign in to comment