mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git
synced 2026-04-23 14:02:06 -04:00
selftests/mm: pagemap_scan ioctl: add PFN ZERO test cases
Add test cases to test the correctness of PFN ZERO flag of pagemap_scan ioctl. Test with normal pages backed memory and huge pages backed memory. Link: https://lkml.kernel.org/r/20250707073321.106431-1-usama.anjum@collabora.com Signed-off-by: Muhammad Usama Anjum <usama.anjum@collabora.com> Cc: David Hildenbrand <david@redhat.com> Cc: Muhammad Usama Anjum <usama.anjum@collabora.com> Cc: Shuah Khan <shuah@kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
This commit is contained in:
committed by
Andrew Morton
parent
0b473f9e6e
commit
f73858d5ef
@@ -44,6 +44,8 @@ static inline unsigned int pshift(void)
|
||||
return __page_shift;
|
||||
}
|
||||
|
||||
bool detect_huge_zeropage(void);
|
||||
|
||||
/*
|
||||
* Plan 9 FS has bugs (at least on QEMU) where certain operations fail with
|
||||
* ENOENT on unlinked files. See
|
||||
|
||||
Reference in New Issue
Block a user