diff options
author | 2012-05-18 15:56:25 -0700 | |
---|---|---|
committer | 2012-05-18 15:56:25 -0700 | |
commit | 73f1f5dd3ee3ec6e20768d831d9759b0330fad0e (patch) | |
tree | 22f8498c47467f468dce6c3bca0eb1f3a0c9ade0 /mm | |
parent | proc: move fd symlink i_mode calculations into tid_fd_revalidate() (diff) | |
parent | frv: delete incorrect task prototypes causing compile fail (diff) | |
download | wireguard-linux-73f1f5dd3ee3ec6e20768d831d9759b0330fad0e.tar.xz wireguard-linux-73f1f5dd3ee3ec6e20768d831d9759b0330fad0e.zip |
Merge branch 'akpm' (Andrew's patch-bomb)
Merge misc fixes from Andrew Morton.
* emailed from Andrew Morton <akpm@linux-foundation.org>: (4 patches)
frv: delete incorrect task prototypes causing compile fail
slub: missing test for partial pages flush work in flush_all()
fs, proc: fix ABBA deadlock in case of execution attempt of map_files/ entries
drivers/rtc/rtc-pl031.c: configure correct wday for 2000-01-01
Diffstat (limited to 'mm')
-rw-r--r-- | mm/slub.c | 2 |
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) |