On Tue, 8 May 2012, Gilad Ben-Yossef wrote: > diff --git a/mm/slub.c b/mm/slub.c > index ffe13fd..d66afc4 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); &&? Should this not be || ? W#e can also drop the !! now I think. return c->page || c->partial -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@xxxxxxxxx. For more info on Linux MM, see: http://www.linux-mm.org/ . Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/ Don't email: <a href=mailto:"dont@xxxxxxxxx"> email@xxxxxxxxx </a>