Re: [PATCH V3 0/5] mm/khugepaged: cleanups and scan limit fix
From: Zi Yan
Date: Sun Jan 18 2026 - 19:17:47 EST
On 18 Jan 2026, at 15:34, Andrew Morton wrote:
> On Sun, 18 Jan 2026 19:22:51 +0000 Shivank Garg <shivankg@xxxxxxx> wrote:
>
>> This series contains several cleanups for mm/khugepaged.c to improve code
>> readability and type safety, and one functional fix to ensure
>> khugepaged_scan_mm_slot() correctly accounts for small VMAs towards
>> scan limit.
>>
>
> That's a lot of changes to a well-reviewed 24 day old patchset.
>
>>
>> v3:
>> - Fold mm-khugepaged-count-small-vmas-towards-scan-limit-fix: add comment (Lance)
>> - Remove extern and use two tabs indent (David)
>
> Are you sure? The v2->v3 diff is large. A lot of (unchangelogged)
> alterations from `int' to `enum scan_result'.
V2 has this change[1].
[1] https://lore.kernel.org/all/20251224111351.41042-12-shivankg@xxxxxxx/
>
> It all looks pretty simple/straightforward to me but again, can
> reviewers please check this over fairly soonly, thanks.
I have reviewed it when it was out last year.
--
Best Regards,
Yan, Zi