Skip to content

slab bulk alloc/free cleanups

Hyeonggon Yoo linux-mm 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2mm/sl[au]b: use own bulk free function when bulk alloc failedmm/slab.c mm/slub.c+3 -30 replies
2/2mm/slab_common: move generic bulk alloc/free functions to SLOBmm/slab.h mm/slab_common.c mm/slob.c+21 -400 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 0/2] slab bulk alloc/free cleanups

This makes SLUB and SLAB use their own kmem_cache_free_bulk() (instead of __kmem_cache_free_bulk()) when kmem_cache_alloc_bulk() failed. And then it moves generic __kmem_cache_{alloc,free}_bulk to SLOB.

This is suggested by Matthew WilCox.

Hyeonggon Yoo (2):
mm/sl[au]b: use own bulk free function when bulk alloc failed mm/slab_common: move generic bulk alloc/free functions to SLOB

 mm/slab.c        |  2 +-
 mm/slab.h        |  9 ---------
 mm/slab_common.c | 27 ---------------------------
 mm/slob.c        | 25 +++++++++++++++++++++----
 mm/slub.c        |  4 ++--
 5 files changed, 24 insertions(+), 43 deletions(-)
Signature · 1 line
2.32.0