summaryrefslogtreecommitdiffstats
path: root/mm/slab.c
diff options
context:
space:
mode:
authorTobin C. Harding2019-05-14 02:16:12 +0200
committerLinus Torvalds2019-05-14 18:47:44 +0200
commit916ac0527837aa0be46d82804f93dd46f03aaedc (patch)
treea97bc3be16e23e178d06f7e181c3f288d51ae6cc /mm/slab.c
parentslub: add comments to endif pre-processor macros (diff)
downloadkernel-qcow2-linux-916ac0527837aa0be46d82804f93dd46f03aaedc.tar.gz
kernel-qcow2-linux-916ac0527837aa0be46d82804f93dd46f03aaedc.tar.xz
kernel-qcow2-linux-916ac0527837aa0be46d82804f93dd46f03aaedc.zip
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