diff options
author | Jiaqi Yan <jiaqiyan@google.com> | 2023-07-13 03:18:33 +0300 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2023-08-18 20:12:27 +0300 |
commit | ba91e7e5d15a22946e6531c898e197e128bb6634 (patch) | |
tree | aefdb3b99bd441c8dc0527529280c66555f99533 /include/sound/wm8996.h | |
parent | 38c1ddbde6c6593e7c4bc17bde87232b7c577e7b (diff) | |
download | linux-ba91e7e5d15a22946e6531c898e197e128bb6634.tar.xz |
selftests/mm: add tests for HWPOISON hugetlbfs read
Add tests for the improvement made to read operation on HWPOISON
hugetlb page with different read granularities. For each chunk size,
three read scenarios are tested:
1. Simple regression test on read without HWPOISON.
2. Sequential read page by page should succeed until encounters the 1st
raw HWPOISON subpage.
3. After skip a raw HWPOISON subpage by lseek, read()s always succeed.
Link: https://lkml.kernel.org/r/20230713001833.3778937-5-jiaqiyan@google.com
Signed-off-by: Jiaqi Yan <jiaqiyan@google.com>
Acked-by: Mike Kravetz <mike.kravetz@oracle.com>
Reviewed-by: Naoya Horiguchi <naoya.horiguchi@nec.com>
Cc: James Houghton <jthoughton@google.com>
Cc: Miaohe Lin <linmiaohe@huawei.com>
Cc: Muchun Song <songmuchun@bytedance.com>
Cc: Yang Shi <shy828301@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'include/sound/wm8996.h')
0 files changed, 0 insertions, 0 deletions