diff options
Diffstat (limited to 'mm')
-rw-r--r-- | mm/slub.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -172,7 +172,7 @@ static inline void ClearSlabDebug(struct page *page) | |||
172 | * Mininum number of partial slabs. These will be left on the partial | 172 | * Mininum number of partial slabs. These will be left on the partial |
173 | * lists even if they are empty. kmem_cache_shrink may reclaim them. | 173 | * lists even if they are empty. kmem_cache_shrink may reclaim them. |
174 | */ | 174 | */ |
175 | #define MIN_PARTIAL 2 | 175 | #define MIN_PARTIAL 5 |
176 | 176 | ||
177 | /* | 177 | /* |
178 | * Maximum number of desirable partial slabs. | 178 | * Maximum number of desirable partial slabs. |
@@ -1613,7 +1613,7 @@ checks_ok: | |||
1613 | * then add it. | 1613 | * then add it. |
1614 | */ | 1614 | */ |
1615 | if (unlikely(!prior)) | 1615 | if (unlikely(!prior)) |
1616 | add_partial(get_node(s, page_to_nid(page)), page); | 1616 | add_partial_tail(get_node(s, page_to_nid(page)), page); |
1617 | 1617 | ||
1618 | out_unlock: | 1618 | out_unlock: |
1619 | slab_unlock(page); | 1619 | slab_unlock(page); |