diff options
author | 2024-05-29 13:19:03 +0200 | |
---|---|---|
committer | 2024-07-03 19:30:17 -0700 | |
commit | 9bf46441ad86da901c902bf78df2d213cc601185 (patch) | |
tree | 3d17e88ca6750d7beefe85b02395e326242515a6 /mm/memory_hotplug.c | |
parent | mm/page_alloc: clear PageBuddy using __ClearPageBuddy() for bad pages (diff) | |
download | wireguard-linux-9bf46441ad86da901c902bf78df2d213cc601185.tar.xz wireguard-linux-9bf46441ad86da901c902bf78df2d213cc601185.zip |
mm/filemap: reinitialize folio->_mapcount directly
Let's get rid of the page_mapcount_reset() call and simply reinitialize
folio->_mapcount directly.
Link: https://lkml.kernel.org/r/20240529111904.2069608-6-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