aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/tasks.py
diff options
context:
space:
mode:
authorDavid Stevens <[email protected]>2023-04-18 17:40:31 +0900
committerAndrew Morton <[email protected]>2023-12-12 17:20:19 -0800
commit55ac8bbe358bdd2f3c044c12f249fd22d48fe015 (patch)
tree9ce5d9290c1f8159bcf17a608afcc7a392f8082d /scripts/gdb/linux/tasks.py
parent43e8832fed08438e2a27afed9bac21acd0ceffe5 (diff)
mm/shmem: fix race in shmem_undo_range w/THP
Split folios during the second loop of shmem_undo_range. It's not sufficient to only split folios when dealing with partial pages, since it's possible for a THP to be faulted in after that point. Calling truncate_inode_folio in that situation can result in throwing away data outside of the range being targeted. [[email protected]: tidy up comment layout] Link: https://lkml.kernel.org/r/[email protected] Fixes: b9a8a4195c7d ("truncate,shmem: Handle truncates that split large folios") Signed-off-by: David Stevens <[email protected]> Cc: Matthew Wilcox (Oracle) <[email protected]> Cc: Suleiman Souhlal <[email protected]> Cc: <[email protected]> Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/tasks.py')
0 files changed, 0 insertions, 0 deletions