diff options
| author | Peter Xu <[email protected]> | 2022-08-11 12:13:28 -0400 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2022-09-26 19:46:05 -0700 |
| commit | 0ccf7f168e17bb7eb5a322397ba5a841f4fbaccb (patch) | |
| tree | c7f8491234fc2a42dce4f1071fc346168732225a /include/linux | |
| parent | 0d206b5d2e0d7d7f09ac9540e3ab3e35a34f536e (diff) | |
mm/thp: carry over dirty bit when thp splits on pmd
Carry over the dirty bit from pmd to pte when a huge pmd splits. It
shouldn't be a correctness issue since when pmd_dirty() we'll have the
page marked dirty anyway, however having dirty bit carried over helps the
next initial writes of split ptes on some archs like x86.
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Peter Xu <[email protected]>
Reviewed-by: Huang Ying <[email protected]>
Cc: Alistair Popple <[email protected]>
Cc: Andi Kleen <[email protected]>
Cc: Andrea Arcangeli <[email protected]>
Cc: David Hildenbrand <[email protected]>
Cc: Hugh Dickins <[email protected]>
Cc: "Kirill A . Shutemov" <[email protected]>
Cc: Minchan Kim <[email protected]>
Cc: Nadav Amit <[email protected]>
Cc: Vlastimil Babka <[email protected]>
Cc: Dave Hansen <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions