Re: [PATCH] mm: fix typo in struct pglist_data code comment

From: Huang, Ying
Date: Wed Dec 07 2022 - 19:03:36 EST


Wang Yong <yongw.kernel@xxxxxxxxx> writes:

> change "stat" to "start".
>
> Fixes: c959924b0dc5 ("memory tiering: adjust hot threshold automatically")
> Signed-off-by: Wang Yong <yongw.kernel@xxxxxxxxx>
> ---
> include/linux/mmzone.h | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/include/linux/mmzone.h b/include/linux/mmzone.h
> index 5f74891556f3..128f3cde800c 100644
> --- a/include/linux/mmzone.h
> +++ b/include/linux/mmzone.h
> @@ -1200,7 +1200,7 @@ typedef struct pglist_data {
> /* start time in ms of current promote threshold adjustment period */
> unsigned int nbp_th_start;
> /*
> - * number of promote candidate pages at stat time of current promote
> + * number of promote candidate pages at start time of current promote

Thanks!

Reviewed-by: "Huang, Ying" <ying.huang@xxxxxxxxx>

> * threshold adjustment period
> */
> unsigned long nbp_th_nr_cand;