diff options
| -rw-r--r-- | mm/slub.c | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -2040,7 +2040,7 @@ static bool has_cpu_slab(int cpu, void *info) | |||
| 2040 | struct kmem_cache *s = info; | 2040 | struct kmem_cache *s = info; |
| 2041 | struct kmem_cache_cpu *c = per_cpu_ptr(s->cpu_slab, cpu); | 2041 | struct kmem_cache_cpu *c = per_cpu_ptr(s->cpu_slab, cpu); |
| 2042 | 2042 | ||
| 2043 | return !!(c->page); | 2043 | return c->page || c->partial; |
| 2044 | } | 2044 | } |
| 2045 | 2045 | ||
| 2046 | static void flush_all(struct kmem_cache *s) | 2046 | static void flush_all(struct kmem_cache *s) |
