Skip to contentSkip to conversation

sched: fix two misspellings.

PATCH In review Jiangong.Han 2 participants 4 messages Jul 20 – Aug 3 Scheduler

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 sched: fix two misspellings.

fix one misspelled word and one typo in function name.

---
 include/linux/sched.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
include/linux/sched.h +2 -2
index 373bcc0598d1..7868663864ce 100644
@@ -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
reviewer Reviewed-by on v1 1/1
#1 lore raw

Please remove the "." at the end of the subject.

Quoted 3 lines · Jiangong.Han

fix one misspelled word and one typo in function name.

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
index 373bcc0598d1..7868663864ce 100644
@@ -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:

Quoted 4 lines
include/linux/sched.h +0 -1
 }
--

2.37.3

Signature · 2 lines
Thanks and Regards,
Prateek
#2 lore raw

PATCH 1/1 sched: fix two misspellings

fix one misspelled word and one typo in function name.

---
 include/linux/sched.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
include/linux/sched.h +2 -2
index 373bcc0598d1..64836b231f74 100644
@@ -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
#3 lore raw

PATCH v3 1/1 sched: fix two misspellings

In reply to K Prateek Nayak

fix one misspelled word and one typo in function name.

---
 include/linux/sched.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
include/linux/sched.h +2 -2
index 373bcc0598d1..7868663864ce 100644
@@ -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