summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorDavid Hildenbrand <david@redhat.com>2024-01-22 20:54:07 +0300
committerAndrew Morton <akpm@linux-foundation.org>2024-01-26 10:52:21 +0300
commitdb44c658f798ad907219f15e033229b8d1aadb93 (patch)
treeded7628d38e43b9ad2fbcfd0f3193197f16369de /tools
parent52e63d67b5bb423b33d7a262ac7f8bd375a90145 (diff)
downloadlinux-db44c658f798ad907219f15e033229b8d1aadb93.tar.xz
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/20240122175407.307992-1-david@redhat.com Fixes: a8e61d584eda0 ("mm/huge_memory: page_remove_rmap() -> folio_remove_rmap_pmd()") Signed-off-by: David Hildenbrand <david@redhat.com> Cc: Ryan Roberts <ryan.roberts@arm.com> Cc: Matthew Wilcox (Oracle) <willy@infradead.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions