diff options
author | Matthew Wilcox (Oracle) <[email protected]> | 2021-03-12 23:57:44 -0500 |
---|---|---|
committer | Matthew Wilcox (Oracle) <[email protected]> | 2022-01-04 13:15:34 -0500 |
commit | 960ea971fa6cdac8d4825a6aaf99b92882e79fbb (patch) | |
tree | 9afc2b3ce4e4be564890374793d2b4489d217979 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 820b05e92bdf07de94bc52c17d935d9ca0a481b3 (diff) |
filemap: Use a folio in filemap_page_mkwrite
This fixes a bug for tail pages. They always have a NULL mapping, so
the check would fail and we would never mark the folio as dirty.
Ends up growing the kernel by 19 bytes although there will be fewer
calls to compound_head() dynamically.
Signed-off-by: Matthew Wilcox (Oracle) <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Reviewed-by: William Kucharski <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions