aboutsummaryrefslogtreecommitdiffstats
path: root/mm
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2011-09-19 11:02:41 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2011-09-19 11:02:41 -0400
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,
2377 */ 2377 */
2378 if (unlikely(!prior)) { 2378 if (unlikely(!prior)) {
2379 remove_full(s, page); 2379 remove_full(s, page);
2380 add_partial(n, page, 0); 2380 add_partial(n, page, 1);
2381 stat(s, FREE_ADD_PARTIAL); 2381 stat(s, FREE_ADD_PARTIAL);
2382 } 2382 }
2383 } 2383 }