Skip to content

Commit

Permalink
Merge branch 'slab/urgent' of git://github.com/penberg/linux
Browse files Browse the repository at this point in the history
* 'slab/urgent' of git://github.com/penberg/linux:
  slub: add slab with one free object to partial list tail
  • Loading branch information
Linus Torvalds committed Sep 19, 2011
2 parents 6d7c2b4 + 130655e commit b6a68a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mm/slub.c
Original file line number Diff line number Diff line change
Expand Up @@ -2377,7 +2377,7 @@ static void __slab_free(struct kmem_cache *s, struct page *page,
*/
if (unlikely(!prior)) {
remove_full(s, page);
add_partial(n, page, 0);
add_partial(n, page, 1);
stat(s, FREE_ADD_PARTIAL);
}
}
Expand Down

0 comments on commit b6a68a5

Please sign in to comment.