Re: [PATCH] mm/mm_slot: introduce mm_slot_next() helper

From: David Hildenbrand (Arm)

Date: Thu Nov 26 2026 - 07:51:03 EST


On 11/25/26 09:42, xu.xin@xxxxxxxxx wrote:
> From: "Xu Xin (vivo)" <xu.xin@xxxxxxxxx>
>
> Add a generic mm_slot_next() macro to simplify getting the next
> mm_slot container entry from the list, and use it in khugepaged.c
> and ksm.c, just for cleaning up.
>
> No functional change intended.
>
> Signed-off-by: Xu Xin (vivo) <xu.xin@xxxxxxxxx>
> ---

just tried to apply this and realized that this needs changes from two topic
branches: ksm and thp.

So I'll make my life easier and pick this after the next merge window :)

--
Cheers,

David