linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] slab bulk alloc/free cleanups
@ 2022-06-14 15:26 Hyeonggon Yoo
  2022-06-14 15:26 ` [PATCH 1/2] mm/sl[au]b: use own bulk free function when bulk alloc failed Hyeonggon Yoo
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Hyeonggon Yoo @ 2022-06-14 15:26 UTC (permalink / raw)
  To: Christoph Lameter, Pekka Enberg, David Rientjes, Joonsoo Kim,
	Andrew Morton, Roman Gushchin, Hyeonggon Yoo, Matthew Wilcox
  Cc: linux-mm

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(-)

-- 
2.32.0



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-07-20 14:16 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-06-14 15:26 [PATCH 0/2] slab bulk alloc/free cleanups Hyeonggon Yoo
2022-06-14 15:26 ` [PATCH 1/2] mm/sl[au]b: use own bulk free function when bulk alloc failed Hyeonggon Yoo
2022-06-14 15:26 ` [PATCH 2/2] mm/slab_common: move generic bulk alloc/free functions to SLOB Hyeonggon Yoo
2022-07-20 14:16 ` [PATCH 0/2] slab bulk alloc/free cleanups Vlastimil Babka (SUSE)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).