Skip to content

RFC Remove slab cache declarations in slab.h

Christoph Lameter linux-mm lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest7 patches 15 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7Remove declaration of sighand_cachep from slab.hfs/exec.c include/linux/slab.h+2 -18 replies
2/7Remove bio_cachep from slab.hinclude/linux/slab.h+0 -10 replies
3/7Move vm_area_cachep to mm.hinclude/linux/mm.h include/linux/slab.h+2 -10 replies
4/7Move files_cachep to file.hinclude/linux/file.h include/linux/slab.h+2 -11 reply
5/7Use external declaration for filep_cachepfs/file_table.c include/linux/slab.h+2 -12 replies
6/7Use an external declaration in exit.c for fs_cachepinclude/linux/slab.h kernel/exit.c+2 -14 replies
7/7Move names_cachep to fs.hinclude/linux/fs.h include/linux/slab.h+2 -30 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [RFC 0/7] Remove slab cache declarations in slab.h

One of the strange issues in include/linux/slab.h that it contains a list of global slab caches. The following patches remove all the global definitions from slab.h and find other ways of defining these caches.

6 of the 7 defined caches are rarely used. One is never used.

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