Skip to content

SLUB: Cleanups

Christoph Lameter linux-mm 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 10 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6Slub: Force no inlining of debug functionsmm/slub.c+3 -31 reply
2/6slub: remove dynamic dma slab allocationmm/slub.c+39 -1112 replies
3/6slub: Remove static kmem_cache_cpu array for bootmm/slub.c+4 -133 replies
4/6slub: Dynamically size kmalloc cache allocationsinclude/linux/slub_def.h mm/slub.c+141 -510 replies
5/6slub: Extract hooks for memory checkers from hotpathsmm/slub.c+38 -112 replies
6/6slub: Move gfpflag masking out of the hotpathmm/slub.c+3 -22 replies

Reviews trailers per patch

1 of 6 patches has a Reviewed-by or Acked-by.

PatchDavid Rientjes
1/6A-b
2/6
3/6
4/6
5/6
6/6

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [S+Q Cleanup 0/6] SLUB: Cleanups

These are just the 6 remaining cleanup patches (after the 2.6.36 merge got the other in) in preparation for the Unified patches.

I think it may be best to first try to merge these and make sure that they are fine before we go step by step through the unification patches. I hope they can go into -next.

Patch 1

Uninline debug functions in hot paths. There is no point of the compiler folding them in because they are typically unused.

Patch 2

Remove dynamic creation of DMA caches and create them statically (will be turned dynamic by patch 4 but will then always be preallocated on boot and not from the hotpath)

Patch 3

Remove static allocation of kmem_cache_cpu array and rely on the percpu allocator to allocate memory for the array on bootup.

Patch 4

Remove static allocation of kmem_cache structure for kmalloc and friends.

Patch 5

Extract hooks for memory checkers.

Patch 6

Move gfpflag masking out of the allocator hotpath

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