diff options
| author | Lance Yang <[email protected]> | 2024-04-18 21:44:34 +0800 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2024-05-05 17:53:43 -0700 |
| commit | 96ebdb032096f67e37b582cd2ea2558c402f878b (patch) | |
| tree | 44553d11584aacd8105d067df8268f788a079fa6 /tools/perf/scripts | |
| parent | 89e86854fb0aa6e20c0f3d88285fa9cedef4f4e0 (diff) | |
mm/memory: add any_dirty optional pointer to folio_pte_batch()
This commit adds the any_dirty pointer as an optional parameter to
folio_pte_batch() function. By using both the any_young and any_dirty
pointers, madvise_free can make smarter decisions about whether to clear
the PTEs when marking large folios as lazyfree.
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Lance Yang <[email protected]>
Suggested-by: David Hildenbrand <[email protected]>
Acked-by: David Hildenbrand <[email protected]>
Cc: Barry Song <[email protected]>
Cc: Jeff Xie <[email protected]>
Cc: Kefeng Wang <[email protected]>
Cc: Michal Hocko <[email protected]>
Cc: Minchan Kim <[email protected]>
Cc: Muchun Song <[email protected]>
Cc: Peter Xu <[email protected]>
Cc: Ryan Roberts <[email protected]>
Cc: Yang Shi <[email protected]>
Cc: Yin Fengwei <[email protected]>
Cc: Zach O'Keefe <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts')
0 files changed, 0 insertions, 0 deletions