Skip to contentSkip to conversation

mm: fix typo in struct pglist_data code comment

PATCH Applied Wang Yong 2 participants 2 messages Dec 7, 2022 – Dec 8, 2022

Subsystems (3)
lore
Share & tools
lore

Wang Yong

author
#0 lore raw

PATCH 1/1 mm: fix typo in struct pglist_data code comment

change "stat" to "start".

Fixes c959924b0dc5 ("memory tiering: adjust hot threshold automatically")
---
 include/linux/mmzone.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
include/linux/mmzone.h +1 -1
index 5f74891556f3..128f3cde800c 100644
@@ -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;
Signature · 1 line
2.25.1
Reviewed-by on v1 1/1
#1 lore raw
Quoted 13 lines · Wang Yong

change "stat" to "start".

Fixes c959924b0dc5 ("memory tiering: adjust hot threshold automatically")
---
 include/linux/mmzone.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
include/linux/mmzone.h +0 -0
index 5f74891556f3..128f3cde800c 100644

include/linux/mmzone.h typedef struct pglist_data { · line 1203

Quoted 5 lines
include/linux/mmzone.h +1 -1
@@ -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!

Quoted 3 lines
include/linux/mmzone.h +0 -0
 	 * threshold adjustment period
 	 */
 	unsigned long nbp_th_nr_cand;