summaryrefslogtreecommitdiffstats
path: root/mm/slab.c
diff options
context:
space:
mode:
authorTobin C. Harding <tobin@kernel.org>2019-05-13 17:16:12 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2019-05-14 09:47:44 -0700
commit916ac0527837aa0be46d82804f93dd46f03aaedc (patch)
treea97bc3be16e23e178d06f7e181c3f288d51ae6cc /mm/slab.c
parent6dfd1b653c49df2dad1dcfe063a196e940e02dbd (diff)
downloadlinux-916ac0527837aa0be46d82804f93dd46f03aaedc.tar.bz2
slub: use slab_list instead of lru
Currently we use the page->lru list for maintaining lists of slabs. We have a list in the page structure (slab_list) that can be used for this purpose. Doing so makes the code cleaner since we are not overloading the lru list. Use the slab_list instead of the lru list for maintaining lists of slabs. Link: http://lkml.kernel.org/r/20190402230545.2929-6-tobin@kernel.org Signed-off-by: Tobin C. Harding <tobin@kernel.org> Acked-by: Christoph Lameter <cl@linux.com> Reviewed-by: Roman Gushchin <guro@fb.com> Acked-by: Vlastimil Babka <vbabka@suse.cz> Cc: David Rientjes <rientjes@google.com> Cc: Joonsoo Kim <iamjoonsoo.kim@lge.com> Cc: Matthew Wilcox <willy@infradead.org> Cc: Pekka Enberg <penberg@kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/slab.c')
0 files changed, 0 insertions, 0 deletions