lkml.org 
[lkml]   [2022]   [Dec]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH] mm: fix typo in struct pglist_data code comment
Date
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;

\
 
 \ /
  Last update: 2022-12-08 01:05    [W:0.029 / U:0.248 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site