From: Joonsoo Kim Date: Wed, 19 Jun 2013 06:33:55 +0000 (+0900) Subject: slub: do not put a slab to cpu partial list when cpu_partial is 0 X-Git-Tag: v3.11-rc1~1^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=318df36e57c0ca9f2146660d41ff28e8650af423;p=pandora-kernel.git 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 Reviewed-by: Wanpeng Li Signed-off-by: Joonsoo Kim Signed-off-by: Pekka Enberg --- Reading git-diff-tree failed