diff options
| author | David Hildenbrand <david@redhat.com> | 2024-05-29 13:19:04 +0200 |
|---|---|---|
| committer | Andrew Morton <akpm@linux-foundation.org> | 2024-07-03 19:30:17 -0700 |
| commit | 11d5401b011e3557894d824dac210f0b18cc3911 (patch) | |
| tree | 2ee18482fd5bc3f40d0296cbbb590963b5ba4a98 /mm/kmsan/init.c | |
| parent | 9bf46441ad86da901c902bf78df2d213cc601185 (diff) | |
| download | linux-11d5401b011e3557894d824dac210f0b18cc3911.tar.gz linux-11d5401b011e3557894d824dac210f0b18cc3911.tar.bz2 linux-11d5401b011e3557894d824dac210f0b18cc3911.zip | |
mm/mm_init: initialize page->_mapcount directly in __init_single_page()
Let's simply reinitialize the page->_mapcount directly. We can now get
rid of page_mapcount_reset().
Link: https://lkml.kernel.org/r/20240529111904.2069608-7-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/kmsan/init.c')
0 files changed, 0 insertions, 0 deletions
