Re: [RFC PATCH 10/11] selftests/mm: remove READ_ONLY_THP_FOR_FS test in khugepaged
From: David Hildenbrand (Arm)
Date: Tue Mar 24 2026 - 05:12:53 EST
On 3/23/26 22:07, Matthew Wilcox wrote:
> On Mon, Mar 23, 2026 at 03:06:43PM -0400, Zi Yan wrote:
>> READ_ONLY_THP_FOR_FS is no longer present, remove related test.
>
> Um, surely we want to keep the test? It's no longer conditional on
> READ_ONLY_THP_FOR_FS being enabled, but we still want to collapse
> mapped files.
Right, in particular this patch would also remove MADV_COLLAPSE support
(not just khugepaged support).
--
Cheers,
David