diff options
author | Wei Yang <richard.weiyang@gmail.com> | 2017-07-07 01:36:31 +0300 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2017-07-07 02:24:30 +0300 |
commit | a93cf07bc3fb4e7bc924d33c387dabc85086ea38 (patch) | |
tree | ed8c028af545abf8743afcff1000758cbd947d28 /net/ipx | |
parent | d3111e6cce6001e71ddc4737d0d412c2300043a2 (diff) | |
download | linux-a93cf07bc3fb4e7bc924d33c387dabc85086ea38.tar.xz |
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>
Diffstat (limited to 'net/ipx')
0 files changed, 0 insertions, 0 deletions