mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-01 14:44:12 +00:00
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:
commit
b6a68a5ba4
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue