提交 b6a68a5b 编写于 作者: L 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
...@@ -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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册