Commit b6a68a5b authored by Linus Torvalds's avatar Linus Torvalds

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
parents 6d7c2b4c 130655ef
...@@ -2377,7 +2377,7 @@ static void __slab_free(struct kmem_cache *s, struct page *page, ...@@ -2377,7 +2377,7 @@ static void __slab_free(struct kmem_cache *s, struct page *page,
*/ */
if (unlikely(!prior)) { if (unlikely(!prior)) {
remove_full(s, page); remove_full(s, page);
add_partial(n, page, 0); add_partial(n, page, 1);
stat(s, FREE_ADD_PARTIAL); stat(s, FREE_ADD_PARTIAL);
} }
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment