aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-mod.c
diff options
context:
space:
mode:
authorPeter Xu <[email protected]>2022-11-13 19:04:47 -0500
committerAndrew Morton <[email protected]>2022-11-30 15:58:55 -0800
commitc2da319c2e2789dccb20fdafe520ac61c9df84f7 (patch)
treeb4aee98aec73e99100490e439dc2f67df4a0142c /lib/mpi/mpi-mod.c
parent25e9fa22fbfec1e58c955d2670bf9a18f4ebe9ef (diff)
mm/uffd: sanity check write bit for uffd-wp protected ptes
Let's add one sanity check for CONFIG_DEBUG_VM on the write bit in whatever chance we have when walking through the pgtables. It can bring the error earlier even before the app notices the data was corrupted on the snapshot. Also it helps us to identify this is a wrong pgtable setup, so hopefully a great information to have for debugging too. Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: Peter Xu <[email protected]> Cc: Andrea Arcangeli <[email protected]> Cc: Alistair Popple <[email protected]> Cc: Axel Rasmussen <[email protected]> Cc: Mike Rapoport <[email protected]> Cc: Nadav Amit <[email protected]> Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-mod.c')
0 files changed, 0 insertions, 0 deletions