Re: [PATCH v6] selftests/mm: add process_madvise() tests

2025-07-23 Thread wang lian
> Here an invalid address range is provided, since pid is checked before > address ranges are checked. > BTW, the size of iovec array cannot be bigger than IOV_MAX. It might be > worth testing as well, if you want to. > With default_huge_page_size() -> read_pmd_pagesize() fix, feel free to > add:

Re: [PATCH v6] selftests/mm: add process_madvise() tests

2025-07-22 Thread Zi Yan
On 21 Jul 2025, at 7:46, wang lian wrote: > Add tests for process_madvise(), focusing on verifying behavior under > various conditions including valid usage and error cases. > > Signed-off-by: wang lian > Suggested-by: Lorenzo Stoakes > Suggested-by: David Hildenbrand > Suggested-by: Zi Yan >

[PATCH v6] selftests/mm: add process_madvise() tests

2025-07-21 Thread wang lian
Add tests for process_madvise(), focusing on verifying behavior under various conditions including valid usage and error cases. Signed-off-by: wang lian Suggested-by: Lorenzo Stoakes Suggested-by: David Hildenbrand Suggested-by: Zi Yan Suggested-by: Mark Brown Acked-by: SeongJae Park --- Ch