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

Huang, Ying
2022-12-08T00:03:36Z

Wang Yong <yongw.kernel@gmail.com> writes:

> change "stat" to "start".
>
> Fixes: c959924b0dc5 ("memory tiering: adjust hot threshold automatically")
> Signed-off-by: Wang Yong <yongw.kernel@gmail.com>
> ---
> 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@intel.com>

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