diff options
author | Vlastimil Babka <vbabka@suse.cz> | 2023-02-28 10:59:54 +0100 |
---|---|---|
committer | Vlastimil Babka <vbabka@suse.cz> | 2023-03-29 10:32:03 +0200 |
commit | c4ba69f00c18524eb89990e9afda9d2a9b54de2f (patch) | |
tree | 71ac832a180b6b6cee3b679b11579ecf4c227924 /tools/mm | |
parent | mm/slob: remove CONFIG_SLOB (diff) | |
download | linux-c4ba69f00c18524eb89990e9afda9d2a9b54de2f.tar.xz linux-c4ba69f00c18524eb89990e9afda9d2a9b54de2f.zip |
mm, page_flags: remove PG_slob_free
With SLOB removed we no longer need the PG_slob_free alias for
PG_private. Also update tools/mm/page-types.
Signed-off-by: Vlastimil Babka <vbabka@suse.cz>
Acked-by: Hyeonggon Yoo <42.hyeyoo@gmail.com>
Acked-by: Lorenzo Stoakes <lstoakes@gmail.com>
Acked-by: Mike Rapoport (IBM) <rppt@kernel.org>
Diffstat (limited to 'tools/mm')
-rw-r--r-- | tools/mm/page-types.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/tools/mm/page-types.c b/tools/mm/page-types.c index 381dcc00cb62..8d5595b6c59f 100644 --- a/tools/mm/page-types.c +++ b/tools/mm/page-types.c @@ -85,7 +85,6 @@ */ #define KPF_ANON_EXCLUSIVE 47 #define KPF_READAHEAD 48 -#define KPF_SLOB_FREE 49 #define KPF_SLUB_FROZEN 50 #define KPF_SLUB_DEBUG 51 #define KPF_FILE 61 @@ -141,7 +140,6 @@ static const char * const page_flag_names[] = { [KPF_ANON_EXCLUSIVE] = "d:anon_exclusive", [KPF_READAHEAD] = "I:readahead", - [KPF_SLOB_FREE] = "P:slob_free", [KPF_SLUB_FROZEN] = "A:slub_frozen", [KPF_SLUB_DEBUG] = "E:slub_debug", @@ -478,10 +476,8 @@ static uint64_t expand_overloaded_flags(uint64_t flags, uint64_t pme) if ((flags & BIT(ANON)) && (flags & BIT(MAPPEDTODISK))) flags ^= BIT(MAPPEDTODISK) | BIT(ANON_EXCLUSIVE); - /* SLOB/SLUB overload several page flags */ + /* SLUB overloads several page flags */ if (flags & BIT(SLAB)) { - if (flags & BIT(PRIVATE)) - flags ^= BIT(PRIVATE) | BIT(SLOB_FREE); if (flags & BIT(ACTIVE)) flags ^= BIT(ACTIVE) | BIT(SLUB_FROZEN); if (flags & BIT(ERROR)) |