diff options
author | David Hildenbrand <[email protected]> | 2024-01-22 18:54:07 +0100 |
---|---|---|
committer | Andrew Morton <[email protected]> | 2024-01-25 23:52:21 -0800 |
commit | db44c658f798ad907219f15e033229b8d1aadb93 (patch) | |
tree | ded7628d38e43b9ad2fbcfd0f3193197f16369de /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 52e63d67b5bb423b33d7a262ac7f8bd375a90145 (diff) |
mm/huge_memory: fix folio_set_dirty() vs. folio_mark_dirty()
The correct folio replacement for "set_page_dirty()" is
"folio_mark_dirty()", not "folio_set_dirty()". Using the latter won't
properly inform the FS using the dirty_folio() callback.
This has been found by code inspection, but likely this can result in some
real trouble.
Link: https://lkml.kernel.org/r/[email protected]
Fixes: a8e61d584eda0 ("mm/huge_memory: page_remove_rmap() -> folio_remove_rmap_pmd()")
Signed-off-by: David Hildenbrand <[email protected]>
Cc: Ryan Roberts <[email protected]>
Cc: Matthew Wilcox (Oracle) <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions