diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2011-09-19 17:02:41 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-09-19 17:02:41 +0200 |
commit | b6a68a5ba4a5111379625d6d921e1c24fc17dc3a (patch) | |
tree | e6ce115ad4c71fa6340e9691f54e4d4400dadf6f /mm | |
parent | Merge branch 'drm-fixes' of git://people.freedesktop.org/~airlied/linux (diff) | |
parent | slub: add slab with one free object to partial list tail (diff) | |
download | linux-b6a68a5ba4a5111379625d6d921e1c24fc17dc3a.tar.xz linux-b6a68a5ba4a5111379625d6d921e1c24fc17dc3a.zip |
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.c | 2 |
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); } } |