diff options
author | Vlastimil Babka <vbabka@suse.cz> | 2022-11-16 16:48:23 +0100 |
---|---|---|
committer | Vlastimil Babka <vbabka@suse.cz> | 2022-11-27 23:40:39 +0100 |
commit | 3d97d976e5d58554570003ca5297a67142ae4e29 (patch) | |
tree | bb012bd3333c67ecd04e89282d3b32ab3153a6d8 /mm/slub.c | |
parent | 2f7c1c1396b587e8cfe18a1f0d628cedaae56b6a (diff) | |
download | lwn-3d97d976e5d58554570003ca5297a67142ae4e29.tar.gz lwn-3d97d976e5d58554570003ca5297a67142ae4e29.zip |
mm, slab: ignore SLAB_RECLAIM_ACCOUNT with CONFIG_SLUB_TINY
SLAB_RECLAIM_ACCOUNT caches allocate their slab pages with
__GFP_RECLAIMABLE and can help against fragmentation by grouping pages
by mobility, but on tiny systems mobility grouping is likely disabled
anyway and ignoring SLAB_RECLAIM_ACCOUNT might instead lead to merging
of caches that are made incompatible just by the flag.
Thus with CONFIG_SLUB_TINY, make SLAB_RECLAIM_ACCOUNT ineffective.
Signed-off-by: Vlastimil Babka <vbabka@suse.cz>
Acked-by: Mike Rapoport <rppt@linux.ibm.com>
Reviewed-by: Christoph Lameter <cl@linux.com>
Diffstat (limited to 'mm/slub.c')
0 files changed, 0 insertions, 0 deletions