Re: [PATCH v3] mm/ksm: prevent zero-page remapping during ksmd-triggered THP splits

From: David Hildenbrand (Arm)

Date: Wed Nov 25 2026 - 05:28:11 EST


On 11/25/26 00:28, Nico Pache wrote:
>
>
> On 11/23/26 9:33 AM, David Hildenbrand (Arm) wrote:
>>
>> [...]
>>
>>
>>
>> I do wonder if we wan to make this an inline function to not require a function
>> call just to check this.
>>
>> Thoughts?
>
> we would have to also expose ksm_scan_thread; tbh im not sure what the
> impact of that is.

I wouldn't worry about the impact. Maybe put it in mm_inline.h such that it's
limited to core-mm.

--
Cheers,

David