mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs.git
synced 2026-11-08 02:19:51 +01:00
This introduces three tests:
1) Sanity check soft dirty basic semantics: allocate area, clean,
dirty, check if the SD bit is flipped.
2) Check VMA reuse: validate the VM_SOFTDIRTY usage
3) Check soft-dirty on huge pages
This was motivated by Will Deacon's fix commit 912efa17e5 ("mm: proc:
Invalidate TLB after clearing soft-dirty page state"). I was tracking the
same issue that he fixed, and this test would have caught it.
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Gabriel Krisman Bertazi <[email protected]>
Signed-off-by: Muhammad Usama Anjum <[email protected]>
Co-developed-by: Muhammad Usama Anjum <[email protected]>
Cc: Will Deacon <[email protected]>
Cc: Shuah Khan <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
9 lines
174 B
Plaintext
9 lines
174 B
Plaintext
CONFIG_SYSVIPC=y
|
|
CONFIG_USERFAULTFD=y
|
|
CONFIG_TEST_VMALLOC=m
|
|
CONFIG_DEVICE_PRIVATE=y
|
|
CONFIG_TEST_HMM=m
|
|
CONFIG_GUP_TEST=y
|
|
CONFIG_TRANSPARENT_HUGEPAGE=y
|
|
CONFIG_MEM_SOFT_DIRTY=y
|