Wei Yang a93cf07bc3 mm/slub.c: wrap cpu_slab->partial in CONFIG_SLUB_CPU_PARTIAL
cpu_slab's field partial is used when CONFIG_SLUB_CPU_PARTIAL is set,
which means we can save a pointer's space on each cpu for every slub
item.

This patch wraps cpu_slab->partial in CONFIG_SLUB_CPU_PARTIAL and wraps
its sysfs use too.

[akpm@linux-foundation.org: avoid strange 80-col tricks]
Link: http://lkml.kernel.org/r/20170502144533.10729-3-richard.weiyang@gmail.com
Signed-off-by: Wei Yang <richard.weiyang@gmail.com>
Cc: Christoph Lameter <cl@linux.com>
Cc: Pekka Enberg <penberg@kernel.org>
Cc: David Rientjes <rientjes@google.com>
Cc: Joonsoo Kim <iamjoonsoo.kim@lge.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2017-07-06 16:24:30 -07:00
..
2017-06-05 16:59:12 +02:00
2017-04-18 20:41:12 +02:00
2017-04-18 20:41:12 +02:00
2017-02-27 18:43:47 -08:00
2015-09-08 15:35:28 -07:00
2017-05-03 15:52:10 -07:00
2015-11-05 19:34:48 -08:00
2017-05-03 15:52:10 -07:00
2017-05-03 15:52:10 -07:00
2017-06-09 09:27:32 -06:00
2016-03-17 15:09:34 -07:00
2017-05-23 10:01:37 +02:00
2017-04-13 18:24:21 -07:00