summaryrefslogtreecommitdiff
path: root/mm/slub.c
diff options
context:
space:
mode:
authorOlof Johansson <olof@lixom.net>2012-05-27 00:30:41 +0400
committerOlof Johansson <olof@lixom.net>2012-05-27 00:30:41 +0400
commit67e7ebc21ff5a5bbcb10c9a980896f0e253bcd40 (patch)
treef12706b80194f48aad3a1bd70ae9215d48875591 /mm/slub.c
parent516fb7a22a5347dc6db731369c365ed1f9b64632 (diff)
parentc533f32e1ac440b8840159f89ece8c9cca2422b5 (diff)
downloadlinux-67e7ebc21ff5a5bbcb10c9a980896f0e253bcd40.tar.xz
Merge branch 'vexpress-v3.4' of git://git.linaro.org/people/pawelmoll/linux into late/soc
A few device tree updates and an include file fix for versatile. * 'vexpress-v3.4' of git://git.linaro.org/people/pawelmoll/linux: ARM: vexpress: Remove twice included header files ARM: vexpress: Device Tree updates + update to 3.4 Signed-off-by: Olof Johansson <olof@lixom.net>
Diffstat (limited to 'mm/slub.c')
-rw-r--r--mm/slub.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/slub.c b/mm/slub.c
index ffe13fdf8144..80848cd3901c 100644
--- a/mm/slub.c
+++ b/mm/slub.c
@@ -2040,7 +2040,7 @@ static bool has_cpu_slab(int cpu, void *info)
struct kmem_cache *s = info;
struct kmem_cache_cpu *c = per_cpu_ptr(s->cpu_slab, cpu);
- return !!(c->page);
+ return c->page || c->partial;
}
static void flush_all(struct kmem_cache *s)