Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 283414
b: refs/heads/master
c: b13683d
h: refs/heads/master
v: v3
  • Loading branch information
Shaohua Li authored and Pekka Enberg committed Dec 13, 2011
1 parent b4036ed commit d755574
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 8f1e33daeda6cd89753f9e77d174805a6f21db09
refs/heads/master: b13683d1cc14d1dd30b8e20f3ebea3f814ad029f
7 changes: 5 additions & 2 deletions trunk/mm/slub.c
Original file line number Diff line number Diff line change
Expand Up @@ -1901,11 +1901,14 @@ static void unfreeze_partials(struct kmem_cache *s)
}

if (l != m) {
if (l == M_PARTIAL)
if (l == M_PARTIAL) {
remove_partial(n, page);
else
stat(s, FREE_REMOVE_PARTIAL);
} else {
add_partial(n, page,
DEACTIVATE_TO_TAIL);
stat(s, FREE_ADD_PARTIAL);
}

l = m;
}
Expand Down

0 comments on commit d755574

Please sign in to comment.