Re: [PATCH V2] mm/khugepaged: fix comment for default scan sleep duration
From: Vishal Moola (Oracle)
Date: Wed Oct 15 2025 - 14:30:39 EST
On Wed, Oct 15, 2025 at 05:29:57PM +0800, wang lian wrote:
> The comment for khugepaged_scan_sleep_millisecs incorrectly states
> the default scan period is 30 seconds. The actual default value in the
> code is 10000ms (10 seconds).
>
> This patch corrects the comment to match the code, preventing potential
> confusion. The incorrect comment has existed since the feature was
> first introduced.
>
> Fixes: ba76149f47d8 ("thp: khugepaged")
>
> Signed-off-by: wang lian <lianux.mm@xxxxxxxxx>
> Suggested-by: David Hildenbrand <david@xxxxxxxxxx>
> Reviewed-by: Dev Jain <dev.jain@xxxxxxx>
> Reviewed-by: Wei Yang <richard.weiyang@xxxxxxxxx>
> Reviewed-by: Lance Yang <lance.yang@xxxxxxxxx>
> ---
Reviewed-by: Vishal Moola (Oracle) <vishal.moola@xxxxxxxxx>