summaryrefslogtreecommitdiff
path: root/mm
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2011-09-19 08:02:41 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2011-09-19 08:02:41 -0700
commitb6a68a5ba4a5111379625d6d921e1c24fc17dc3a (patch)
treee6ce115ad4c71fa6340e9691f54e4d4400dadf6f /mm
parent6d7c2b4cfa5cb17c9f84c949bfece17b60b0f929 (diff)
parent130655ef097940b627e8e04fa7c6f3b51cf24f85 (diff)
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
Diffstat (limited to 'mm')
-rw-r--r--mm/slub.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/slub.c b/mm/slub.c
index 9f662d70eb47..7c54fe83a90c 100644
--- a/mm/slub.c
+++ b/mm/slub.c
@@ -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);
}
}