Re: [PATCH v3] selftest: mm: Test if hugepage does not get leaked during __bio_release_pages()

2024-06-07 Thread Donet Tom
On 6/7/24 22:02, Muhammad Usama Anjum wrote: On 6/7/24 9:30 PM, Donet Tom wrote: ...   tools/testing/selftests/mm/Makefile  |   1 +   tools/testing/selftests/mm/hugetlb_dio.c | 118 +++ Missed my feedback on adding the test to vm_test.sh I was not able to find vm_tes

Re: [PATCH v3] selftest: mm: Test if hugepage does not get leaked during __bio_release_pages()

2024-06-07 Thread Muhammad Usama Anjum
On 6/7/24 9:30 PM, Donet Tom wrote: ... >>>   tools/testing/selftests/mm/Makefile  |   1 + >>>   tools/testing/selftests/mm/hugetlb_dio.c | 118 +++ >> Missed my feedback on adding the test to vm_test.sh > I was not able to find vm_test.sh file to add this test in selftests/m

Re: [PATCH v3] selftest: mm: Test if hugepage does not get leaked during __bio_release_pages()

2024-06-07 Thread Donet Tom
On 6/7/24 11:53, Muhammad Usama Anjum wrote: On 6/7/24 10:50 AM, Donet Tom wrote: Commit 1b151e2435fc ("block: Remove special-casing of compound pages") caused a change in behaviour when releasing the pages if the buffer does not start at the beginning of the page. This was because the calcula

Re: [PATCH v3] selftest: mm: Test if hugepage does not get leaked during __bio_release_pages()

2024-06-06 Thread Muhammad Usama Anjum
On 6/7/24 10:50 AM, Donet Tom wrote: > Commit 1b151e2435fc ("block: Remove special-casing of compound > pages") caused a change in behaviour when releasing the pages > if the buffer does not start at the beginning of the page. This > was because the calculation of the number of pages to release > w

[PATCH v3] selftest: mm: Test if hugepage does not get leaked during __bio_release_pages()

2024-06-06 Thread Donet Tom
Commit 1b151e2435fc ("block: Remove special-casing of compound pages") caused a change in behaviour when releasing the pages if the buffer does not start at the beginning of the page. This was because the calculation of the number of pages to release was incorrect. This was fixed by commit 38b43539