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

Wang Yong posted 1 patch 2 years, 9 months ago
include/linux/mmzone.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] mm: fix typo in struct pglist_data code comment
Posted by Wang Yong 2 years, 9 months ago
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
 	 * threshold adjustment period
 	 */
 	unsigned long nbp_th_nr_cand;
-- 
2.25.1
Re: [PATCH] mm: fix typo in struct pglist_data code comment
Posted by Huang, Ying 2 years, 9 months ago
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;