Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 283408
b: refs/heads/master
c: 4c493a5
h: refs/heads/master
v: v3
  • Loading branch information
Shaohua Li authored and Pekka Enberg committed Nov 27, 2011
1 parent e2dda3f commit bd13c34
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: 42616cacf8bf898b1bc734b88a76cbaadffb8eb7
refs/heads/master: 4c493a5a5c0bab6c434af2723328edd79c49aa0c
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 bd13c34

Please sign in to comment.