Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 75118
b: refs/heads/master
c: 76be895
h: refs/heads/master
v: v3
  • Loading branch information
Christoph Lameter authored and Linus Torvalds committed Dec 21, 2007
1 parent f0b4081 commit 2f4d9cf
Show file tree
Hide file tree
Showing 2 changed files with 3 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: ea67db4cdbbf7f4e74150e71da0984e25121f500
refs/heads/master: 76be895001f2b0bee42a7685e942d3e08d5dd46c
4 changes: 2 additions & 2 deletions trunk/mm/slub.c
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ static inline void ClearSlabDebug(struct page *page)
* Mininum number of partial slabs. These will be left on the partial
* lists even if they are empty. kmem_cache_shrink may reclaim them.
*/
#define MIN_PARTIAL 2
#define MIN_PARTIAL 5

/*
* Maximum number of desirable partial slabs.
Expand Down Expand Up @@ -1613,7 +1613,7 @@ static void __slab_free(struct kmem_cache *s, struct page *page,
* then add it.
*/
if (unlikely(!prior))
add_partial(get_node(s, page_to_nid(page)), page);
add_partial_tail(get_node(s, page_to_nid(page)), page);

out_unlock:
slab_unlock(page);
Expand Down

0 comments on commit 2f4d9cf

Please sign in to comment.