Re: [PATCH] mm/khugepaged: fix comment for default scan sleep duration

From: Wei Yang

Date: Wed Oct 15 2025 - 03:32:56 EST


On Wed, Oct 15, 2025 at 02:43:33PM +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>

Reviewed-by: Wei Yang <richard.weiyang@xxxxxxxxx>

--
Wei Yang
Help you, Help me