diff options
| author | David Hildenbrand <david@redhat.com> | 2024-05-29 13:19:02 +0200 |
|---|---|---|
| committer | Andrew Morton <akpm@linux-foundation.org> | 2024-07-03 19:30:17 -0700 |
| commit | e4d970acfb1e7d1e83ce3101dc3c01eae44938e1 (patch) | |
| tree | f6f8ebc7435f85880b4c79929a8e0e80795a4d12 /mm/page_alloc.c?id=e4d970acfb1e7d1e83ce3101dc3c01eae44938e1 | |
| parent | 43d746dc49bb4c82034fce01a92fe67344d664cf (diff) | |
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/page_alloc.c?id=e4d970acfb1e7d1e83ce3101dc3c01eae44938e1')
0 files changed, 0 insertions, 0 deletions
