diff options
| author | David Hildenbrand <[email protected]> | 2024-05-29 13:19:04 +0200 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2024-07-03 19:30:17 -0700 |
| commit | 11d5401b011e3557894d824dac210f0b18cc3911 (patch) | |
| tree | 2ee18482fd5bc3f40d0296cbbb590963b5ba4a98 /tools/perf/scripts/python | |
| parent | 9bf46441ad86da901c902bf78df2d213cc601185 (diff) | |
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/[email protected]
Signed-off-by: David Hildenbrand <[email protected]>
Tested-by: Sergey Senozhatsky <[email protected]> [zram/zsmalloc workloads]
Cc: Hyeonggon Yoo <[email protected]>
Cc: Matthew Wilcox (Oracle) <[email protected]>
Cc: Mike Rapoport (IBM) <[email protected]>
Cc: Minchan Kim <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions