sched: fix two misspellings.
PATCH 1/1 sched: fix two misspellings.
fix one misspelled word and one typo in function name.
Signed-off-by Jiangong.Han <[email protected]>
--- include/linux/sched.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
include/linux/sched.h +2 -2
@@ -1790,7 +1790,7 @@ extern struct pid *cad_pid;#define PF_NOFREEZE 0x00008000/* This thread should not be frozen */ #define PF_KCOMPACTD 0x00010000/* I am kcompactd */ #define PF_KSWAPD 0x00020000/* I am kswapd */ -#define PF_MEMALLOC_NOFS 0x00040000/* All allocations inherit GFP_NOFS. See memalloc_nfs_save() */ +#define PF_MEMALLOC_NOFS 0x00040000/* All allocations inherit GFP_NOFS. See memalloc_nofs_save() */ #define PF_MEMALLOC_NOIO 0x00080000/* All allocations inherit GFP_NOIO. See memalloc_noio_save() */ #define PF_LOCAL_THROTTLE 0x00100000/* Throttle writes only against the bdi I write to, * I am cleaning dirty pages from some other bdi. */
@@ -2377,7 +2377,7 @@ static __always_inline int task_mm_cid(struct task_struct *t)/* * Use the processor id as a fall-back when the mm cid feature is * disabled. This provides functional per-cpu data structure accesses -* in user-space, althrough it won't provide the memory usage benefits. +* in user-space, although it won't provide the memory usage benefits. */ return task_cpu (t); }
Signature · 1 line
2.37.3
Please remove the "." at the end of the subject.
Quoted 3 lines · Jiangong.Han
fix one misspelled word and one typo in function name.
Signed-off-by Jiangong.Han <[email protected]>
This should be your real name and not the email prefix
https://www.kernel.org/doc/html/v4.17/process/submitting-patches.html#developer-s-certificate-of-origin-1-1
Quoted 18 lines
--- include/linux/sched.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)include/linux/sched.h +1
-1@@ -1790,7 +1790,7 @@ extern struct pid *cad_pid;#define PF_NOFREEZE 0x00008000/* This thread should not be frozen */ #define PF_KCOMPACTD 0x00010000/* I am kcompactd */ #define PF_KSWAPD 0x00020000/* I am kswapd */ -#define PF_MEMALLOC_NOFS 0x00040000/* All allocations inherit GFP_NOFS. See memalloc_nfs_save() */ +#define PF_MEMALLOC_NOFS 0x00040000/* All allocations inherit GFP_NOFS. See memalloc_nofs_save() */ #define PF_MEMALLOC_NOIO 0x00080000/* All allocations inherit GFP_NOIO. See memalloc_noio_save() */ #define PF_LOCAL_THROTTLE 0x00100000/* Throttle writes only against the bdi I write to, * I am cleaning dirty pages from some other bdi. */
include/linux/sched.h static __always_inline int task_mm_cid(struct task_struct *t) · line 2382
Quoted 7 lines
include/linux/sched.h +1
-1@@ -2377,7 +2377,7 @@ static __always_inline int task_mm_cid(struct task_struct *t)/* * Use the processor id as a fall-back when the mm cid feature is * disabled. This provides functional per-cpu data structure accesses -* in user-space, althrough it won't provide the memory usage benefits. +* in user-space, although it won't provide the memory usage benefits. */ return task_cpu (t);
For the change itself, feel free to include:
Reviewed-by K Prateek Nayak <[email protected]>
Quoted 4 lines
include/linux/sched.h +0
-1} --2.37.3
Signature · 2 lines
Thanks and Regards, Prateek
PATCH 1/1 sched: fix two misspellings
fix one misspelled word and one typo in function name.
Signed-off-by Jiangong.Han <[email protected]>
--- include/linux/sched.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
include/linux/sched.h +2 -2
@@ -1790,7 +1790,7 @@ extern struct pid *cad_pid;#define PF_NOFREEZE 0x00008000/* This thread should not be frozen */ #define PF_KCOMPACTD 0x00010000/* I am kcompactd */ #define PF_KSWAPD 0x00020000/* I am kswapd */ -#define PF_MEMALLOC_NOFS 0x00040000/* All allocations inherit GFP_NOFS. See memalloc_nfs_save() */ +#define PF_MEMALLOC_NOFS 0x00040000/* All allocations inherit GFP_NOFS. See memalloc_nfos_save() */ #define PF_MEMALLOC_NOIO 0x00080000/* All allocations inherit GFP_NOIO. See memalloc_noio_save() */ #define PF_LOCAL_THROTTLE 0x00100000/* Throttle writes only against the bdi I write to, * I am cleaning dirty pages from some other bdi. */
@@ -2377,7 +2377,7 @@ static __always_inline int task_mm_cid(struct task_struct *t)/* * Use the processor id as a fall-back when the mm cid feature is * disabled. This provides functional per-cpu data structure accesses -* in user-space, althrough it won't provide the memory usage benefits. +* in user-space, although it won't provide the memory usage benefits. */ return task_cpu (t); }
Signature · 1 line
2.37.3
PATCH v3 1/1 sched: fix two misspellings
In reply to K Prateek Nayakfix one misspelled word and one typo in function name.
Signed-off-by Jiangong.Han <[email protected]>
--- include/linux/sched.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
include/linux/sched.h +2 -2
@@ -1790,7 +1790,7 @@ extern struct pid *cad_pid;#define PF_NOFREEZE 0x00008000/* This thread should not be frozen */ #define PF_KCOMPACTD 0x00010000/* I am kcompactd */ #define PF_KSWAPD 0x00020000/* I am kswapd */ -#define PF_MEMALLOC_NOFS 0x00040000/* All allocations inherit GFP_NOFS. See memalloc_nfs_save() */ +#define PF_MEMALLOC_NOFS 0x00040000/* All allocations inherit GFP_NOFS. See memalloc_nofs_save() */ #define PF_MEMALLOC_NOIO 0x00080000/* All allocations inherit GFP_NOIO. See memalloc_noio_save() */ #define PF_LOCAL_THROTTLE 0x00100000/* Throttle writes only against the bdi I write to, * I am cleaning dirty pages from some other bdi. */
@@ -2377,7 +2377,7 @@ static __always_inline int task_mm_cid(struct task_struct *t)/* * Use the processor id as a fall-back when the mm cid feature is * disabled. This provides functional per-cpu data structure accesses -* in user-space, althrough it won't provide the memory usage benefits. +* in user-space, although it won't provide the memory usage benefits. */ return task_cpu (t); }
Signature · 1 line
2.37.3