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
|
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue