summaryrefslogtreecommitdiffstats
path: root/mm/slob.c
diff options
context:
space:
mode:
authorJoonsoo Kim2013-06-19 08:33:55 +0200
committerPekka Enberg2013-07-07 17:46:30 +0200
commit318df36e57c0ca9f2146660d41ff28e8650af423 (patch)
tree6d6ad368eab1e67f2fd88ea92638e638c04e66d3 /mm/slob.c
parentmm/slub: Use node_nr_slabs and node_nr_objs in get_slabinfo (diff)
downloadkernel-qcow2-linux-318df36e57c0ca9f2146660d41ff28e8650af423.tar.gz
kernel-qcow2-linux-318df36e57c0ca9f2146660d41ff28e8650af423.tar.xz
kernel-qcow2-linux-318df36e57c0ca9f2146660d41ff28e8650af423.zip
slub: do not put a slab to cpu partial list when cpu_partial is 0
In free path, we don't check number of cpu_partial, so one slab can be linked in cpu partial list even if cpu_partial is 0. To prevent this, we should check number of cpu_partial in put_cpu_partial(). Acked-by: Christoph Lameeter <cl@linux.com> Reviewed-by: Wanpeng Li <liwanp@linux.vnet.ibm.com> Signed-off-by: Joonsoo Kim <iamjoonsoo.kim@lge.com> Signed-off-by: Pekka Enberg <penberg@kernel.org>
Diffstat (limited to 'mm/slob.c')
0 files changed, 0 insertions, 0 deletions