diff options
author | 2023-06-13 12:28:21 +0200 | |
---|---|---|
committer | 2023-06-16 11:04:29 +0200 | |
commit | d5bf485746991ce994994e5935b1cf223678f112 (patch) | |
tree | bf70c9dd6a44e68c0a8c2b36fbcab2f0f3a7ea31 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | mm/slab: introduce kmem_cache flag SLAB_NO_MERGE (diff) | |
download | wireguard-linux-d5bf485746991ce994994e5935b1cf223678f112.tar.xz wireguard-linux-d5bf485746991ce994994e5935b1cf223678f112.zip |
mm/slab_common: use SLAB_NO_MERGE instead of negative refcount
When CONFIG_MEMCG_KMEM is enabled, we disable cache merging for
KMALLOC_NORMAL caches so they don't end up merged with a cache that uses
ad-hoc __GFP_ACCOUNT when allocating. This was implemented by setting
the refcount to -1, but now we have a proper SLAB_NO_MERGE flag, so use
that instead.
Signed-off-by: Vlastimil Babka <vbabka@suse.cz>
Acked-by: David Rientjes <rientjes@google.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions