linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/4] mm: Use slab_list list_head instead of lru
@ 2019-03-11  1:07 Tobin C. Harding
  2019-03-11  1:07 ` [PATCH 1/4] slub: Add comments to endif pre-processor macros Tobin C. Harding
                   ` (4 more replies)
  0 siblings, 5 replies; 15+ messages in thread
From: Tobin C. Harding @ 2019-03-11  1:07 UTC (permalink / raw)
  To: Andrew Morton
  Cc: Tobin C. Harding, Christoph Lameter, Pekka Enberg,
	David Rientjes, Joonsoo Kim, Matthew Wilcox, linux-mm,
	linux-kernel

Currently the slab allocators (ab)use the struct page 'lru' list_head.
We have a list head for slab allocators to use, 'slab_list'.

Clean up all three allocators by using the 'slab_list' list_head instead
of overloading the 'lru' list_head.

Initial patch makes no code changes, adds comments to #endif statements.

Final 3 patches do changes as a patch per allocator, tested by building
and booting (in Qemu) after configuring kernel to use appropriate
allocator.  Also build and boot with debug options enabled (for slab
and slub).


thanks,
Tobin.

Tobin C. Harding (4):
  slub: Add comments to endif pre-processor macros
  slub: Use slab_list instead of lru
  slab: Use slab_list instead of lru
  slob: Use slab_list instead of lru

 mm/slab.c | 49 +++++++++++++++++++++++----------------------
 mm/slob.c | 10 +++++-----
 mm/slub.c | 60 +++++++++++++++++++++++++++----------------------------
 3 files changed, 60 insertions(+), 59 deletions(-)

-- 
2.21.0


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

end of thread, other threads:[~2019-03-12 17:25 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-03-11  1:07 [PATCH 0/4] mm: Use slab_list list_head instead of lru Tobin C. Harding
2019-03-11  1:07 ` [PATCH 1/4] slub: Add comments to endif pre-processor macros Tobin C. Harding
2019-03-11  1:07 ` [PATCH 2/4] slub: Use slab_list instead of lru Tobin C. Harding
2019-03-11  1:07 ` [PATCH 3/4] slab: " Tobin C. Harding
2019-03-11  1:07 ` [PATCH 4/4] slob: " Tobin C. Harding
2019-03-11 20:49 ` [PATCH 0/4] mm: Use slab_list list_head " Roman Gushchin
2019-03-11 23:16   ` Matthew Wilcox
2019-03-12  0:22     ` Roman Gushchin
2019-03-12  1:06       ` Tobin C. Harding
2019-03-12  2:01       ` Tobin C. Harding
2019-03-12 17:19         ` Roman Gushchin
2019-03-12  1:05     ` Tobin C. Harding
2019-03-12  2:38       ` Matthew Wilcox
2019-03-12  3:53         ` Tobin C. Harding
2019-03-12 17:22         ` Roman Gushchin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox