RFC series for code sharing between SLUB and SLAB, and dedublication of code in SLAB, as Christoph requested. See questions in code. Plus adding bulk API implemenation for SLAB. --- Jesper Dangaard Brouer (9): mm/slab: move SLUB alloc hooks to common mm/slab.h mm: generalize avoid fault-inject on bootstrap kmem_cache slab: use slab_pre_alloc_hook in SLAB allocator mm: kmemcheck skip object if slab allocation failed slab: use slab_post_alloc_hook in SLAB allocator slab: implement bulk alloc in SLAB allocator slab: avoid running debug SLAB code with IRQs disabled for alloc_bulk slab: implement bulk free in SLAB allocator slab: annotate code to generate more compact asm code mm/failslab.c | 2 + mm/kmemcheck.c | 3 + mm/slab.c | 122 +++++++++++++++++++++++++++++++++++--------------------- mm/slab.h | 92 ++++++++++++++++++++++++++++++++++++++++++ mm/slub.c | 54 ------------------------- 5 files changed, 174 insertions(+), 99 deletions(-) -- -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@xxxxxxxxx. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"dont@xxxxxxxxx"> email@xxxxxxxxx </a>