Skip to content

MM: More bulk API work

Jesper Dangaard Brouer linux-mm 2 versions – New

Get series with b4
b4 am 20160112151257.31725.71327.stgit@firesoul

Versions newest first · linked by author and title

  1. v2 Latest11 patches 0 repliesNew
  2. v110 patches 8 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/11slub: cleanup code for kmem cgroup support to kmem_cache_free_bulkmm/slub.c+11 -110 replies
2/11mm/slab: move SLUB alloc hooks to common mm/slab.hmm/slab.h mm/slub.c+62 -540 replies
3/11mm: fault-inject take over bootstrap kmem_cache checkinclude/linux/fault-inject.h mm/failslab.c mm/slab.c +1 more+13 -170 replies
4/11slab: use slab_pre_alloc_hook in SLAB allocator shared with SLUBmm/slab.c+4 -140 replies
5/11mm: kmemcheck skip object if slab allocation failedmm/kmemcheck.c+3 -00 replies
6/11slab: use slab_post_alloc_hook in SLAB allocator shared with SLUBmm/slab.c+6 -160 replies
7/11slab: implement bulk alloc in SLAB allocatormm/slab.c+35 -20 replies
8/11slab: avoid running debug SLAB code with IRQs disabled for alloc_bulkmm/slab.c+13 -30 replies
9/11slab: implement bulk free in SLAB allocatormm/slab.c+23 -60 replies
10/11mm: new API kfree_bulk() for SLAB+SLUB allocatorsinclude/linux/slab.h mm/slab.c mm/slab_common.c +1 more+37 -60 replies
11/11mm: fix some spellinginclude/linux/memcontrol.h include/linux/slab.h mm/slab.h+3 -30 replies

Reviews trailers per patch

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

Read the v2 thread

Cover letter [PATCH V2 00/11] MM: More bulk API work

This series contain three aspects:
1. cleanup and code sharing between SLUB and SLAB
2. implementing accelerated bulk API for SLAB allocator
3. new API kfree_bulk()

Reviewers please review the changed order of debug calls in the SLAB allocator, as they are changed to do the same as the SLUB allocator.

Patchset based on top Linus tree at commit afd2ff9b7e1b ("Linux 4.4").

Test module for exercising the new kfree_bulk() API is avail here:
https://github.com/netoptimizer/prototype-kernel/blob/master/kernel/mm/slab_bulk_test05_kfree_bulk.c

---

Jesper Dangaard Brouer (11):
slub: cleanup code for kmem cgroup support to kmem_cache_free_bulk mm/slab: move SLUB alloc hooks to common mm/slab.h
mm: fault-inject take over bootstrap kmem_cache check
slab: use slab_pre_alloc_hook in SLAB allocator shared with SLUB
mm: kmemcheck skip object if slab allocation failed
slab: use slab_post_alloc_hook in SLAB allocator shared with SLUB
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
mm: new API kfree_bulk() for SLAB+SLUB allocators
mm: fix some spelling

 include/linux/fault-inject.h |    5 +-
 include/linux/memcontrol.h   |    2 -
 include/linux/slab.h         |   11 +++-
 mm/failslab.c                |   11 +++-
 mm/kmemcheck.c               |    3 +
 mm/slab.c                    |  121 +++++++++++++++++++++++++++---------------
 mm/slab.h                    |   64 ++++++++++++++++++++++
 mm/slab_common.c             |    8 ++-
 mm/slub.c                    |   93 +++++++++-----------------------
 9 files changed, 198 insertions(+), 120 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>