summaryrefslogtreecommitdiffstats
path: root/mm
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2011-08-09 21:51:25 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2011-08-09 21:51:25 +0200
commit47e180d6523081605c970f806572beab8a205537 (patch)
tree63e8fc833eb0650371c49dd6bd34806f05f80426 /mm
parentMerge branch 'slab/urgent' of git://git.kernel.org/pub/scm/linux/kernel/git/p... (diff)
parentslub: Fix partial count comparison confusion (diff)
downloadlinux-47e180d6523081605c970f806572beab8a205537.tar.xz
linux-47e180d6523081605c970f806572beab8a205537.zip
Merge branch 'slab/urgent' of git://git.kernel.org/pub/scm/linux/kernel/git/penberg/slab-2.6
* 'slab/urgent' of git://git.kernel.org/pub/scm/linux/kernel/git/penberg/slab-2.6: slub: Fix partial count comparison confusion
Diffstat (limited to 'mm')
-rw-r--r--mm/slub.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/slub.c b/mm/slub.c
index 6da68597bde8..9f662d70eb47 100644
--- a/mm/slub.c
+++ b/mm/slub.c
@@ -1854,7 +1854,7 @@ redo:
new.frozen = 0;
- if (!new.inuse && n->nr_partial < s->min_partial)
+ if (!new.inuse && n->nr_partial > s->min_partial)
m = M_FREE;
else if (new.freelist) {
m = M_PARTIAL;