Skip to content

RFC slab: cleanup and bulk API for SLAB

Jesper Dangaard Brouer linux-mm 1 version In review

Get series with b4
b4 am 20151208161751.21945.53936.stgit@firesoul

Versions newest first

  1. v2 RFC Latest9 patches 13 repliesIn review

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/9mm/slab: move SLUB alloc hooks to common mm/slab.hmm/slab.h mm/slub.c+71 -541 reply
2/9mm: generalize avoid fault-inject on bootstrap kmem_cachemm/failslab.c mm/slab.c mm/slab.h+24 -91 reply
3/9slab: use slab_pre_alloc_hook in SLAB allocatormm/slab.c+4 -140 replies
4/9mm: kmemcheck skip object if slab allocation failedmm/kmemcheck.c+3 -00 replies
5/9slab: use slab_post_alloc_hook in SLAB allocatormm/slab.c+6 -160 replies
6/9slab: implement bulk alloc in SLAB allocatormm/slab.c+35 -20 replies
7/9slab: avoid running debug SLAB code with IRQs disabled for alloc_bulkmm/slab.c+13 -30 replies
8/9slab: implement bulk free in SLAB allocatormm/slab.c+23 -611 replies
9/9slab: annotate code to generate more compact asm codemm/slab.c+2 -20 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [RFC PATCH V2 0/9] slab: cleanup and bulk API for SLAB

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 [email protected]. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>