diff options
author | 2024-05-29 13:19:02 +0200 | |
---|---|---|
committer | 2024-07-03 19:30:17 -0700 | |
commit | e4d970acfb1e7d1e83ce3101dc3c01eae44938e1 (patch) | |
tree | f6f8ebc7435f85880b4c79929a8e0e80795a4d12 /mm/memory_hotplug.c | |
parent | mm/zsmalloc: use a proper page type (diff) | |
download | wireguard-linux-e4d970acfb1e7d1e83ce3101dc3c01eae44938e1.tar.xz wireguard-linux-e4d970acfb1e7d1e83ce3101dc3c01eae44938e1.zip |
mm/page_alloc: clear PageBuddy using __ClearPageBuddy() for bad pages
Let's stop using page_mapcount_reset() and clear PageBuddy using
__ClearPageBuddy() instead.
Link: https://lkml.kernel.org/r/20240529111904.2069608-5-david@redhat.com
Signed-off-by: David Hildenbrand <david@redhat.com>
Tested-by: Sergey Senozhatsky <senozhatsky@chromium.org> [zram/zsmalloc workloads]
Cc: Hyeonggon Yoo <42.hyeyoo@gmail.com>
Cc: Matthew Wilcox (Oracle) <willy@infradead.org>
Cc: Mike Rapoport (IBM) <rppt@kernel.org>
Cc: Minchan Kim <minchan@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'mm/memory_hotplug.c')
0 files changed, 0 insertions, 0 deletions