Merge branch 'slab/urgent' of git://github.com/penberg/linux

* 'slab/urgent' of git://github.com/penberg/linux:
  slub: add slab with one free object to partial list tail
This commit is contained in:
Linus Torvalds 2011-09-19 08:02:41 -07:00
commit b6a68a5ba4

View File

@ -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);
}
}