* [PATCH] linux/sched/mm.h: drop duplicated words in comments
@ 2020-07-16 1:30 Randy Dunlap
2020-07-16 14:40 ` SeongJae Park
2020-07-22 9:12 ` [tip: sched/core] " tip-bot2 for Randy Dunlap
0 siblings, 2 replies; 3+ messages in thread
From: Randy Dunlap @ 2020-07-16 1:30 UTC (permalink / raw)
To: LKML, Ingo Molnar, Peter Zijlstra, Andrew Morton, Linux MM
From: Randy Dunlap <rdunlap@infradead.org>
Drop doubled words "to" and "that".
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: linux-mm@kvack.org
---
include/linux/sched/mm.h | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
--- linux-next-20200714.orig/include/linux/sched/mm.h
+++ linux-next-20200714/include/linux/sched/mm.h
@@ -23,7 +23,7 @@ extern struct mm_struct *mm_alloc(void);
* will still exist later on and mmget_not_zero() has to be used before
* accessing it.
*
- * This is a preferred way to to pin @mm for a longer/unbounded amount
+ * This is a preferred way to pin @mm for a longer/unbounded amount
* of time.
*
* Use mmdrop() to release the reference acquired by mmgrab().
@@ -234,7 +234,7 @@ static inline unsigned int memalloc_noio
* @flags: Flags to restore.
*
* Ends the implicit GFP_NOIO scope started by memalloc_noio_save function.
- * Always make sure that that the given flags is the return value from the
+ * Always make sure that the given flags is the return value from the
* pairing memalloc_noio_save call.
*/
static inline void memalloc_noio_restore(unsigned int flags)
@@ -265,7 +265,7 @@ static inline unsigned int memalloc_nofs
* @flags: Flags to restore.
*
* Ends the implicit GFP_NOFS scope started by memalloc_nofs_save function.
- * Always make sure that that the given flags is the return value from the
+ * Always make sure that the given flags is the return value from the
* pairing memalloc_nofs_save call.
*/
static inline void memalloc_nofs_restore(unsigned int flags)
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] linux/sched/mm.h: drop duplicated words in comments
2020-07-16 1:30 [PATCH] linux/sched/mm.h: drop duplicated words in comments Randy Dunlap
@ 2020-07-16 14:40 ` SeongJae Park
2020-07-22 9:12 ` [tip: sched/core] " tip-bot2 for Randy Dunlap
1 sibling, 0 replies; 3+ messages in thread
From: SeongJae Park @ 2020-07-16 14:40 UTC (permalink / raw)
To: Randy Dunlap; +Cc: LKML, Ingo Molnar, Peter Zijlstra, Andrew Morton, Linux MM
On 2020-07-15T18:30:31-07:00 Randy Dunlap <rdunlap@infradead.org> wrote:
> From: Randy Dunlap <rdunlap@infradead.org>
>
> Drop doubled words "to" and "that".
>
> Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Reviewed-by: SeongJae Park <sjpark@amazon.de>
Thanks,
SeongJae Park
> Cc: Ingo Molnar <mingo@redhat.com>
> Cc: Peter Zijlstra <peterz@infradead.org>
> Cc: Andrew Morton <akpm@linux-foundation.org>
> Cc: linux-mm@kvack.org
> ---
> include/linux/sched/mm.h | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)
>
> --- linux-next-20200714.orig/include/linux/sched/mm.h
> +++ linux-next-20200714/include/linux/sched/mm.h
> @@ -23,7 +23,7 @@ extern struct mm_struct *mm_alloc(void);
> * will still exist later on and mmget_not_zero() has to be used before
> * accessing it.
> *
> - * This is a preferred way to to pin @mm for a longer/unbounded amount
> + * This is a preferred way to pin @mm for a longer/unbounded amount
> * of time.
> *
> * Use mmdrop() to release the reference acquired by mmgrab().
> @@ -234,7 +234,7 @@ static inline unsigned int memalloc_noio
> * @flags: Flags to restore.
> *
> * Ends the implicit GFP_NOIO scope started by memalloc_noio_save function.
> - * Always make sure that that the given flags is the return value from the
> + * Always make sure that the given flags is the return value from the
> * pairing memalloc_noio_save call.
> */
> static inline void memalloc_noio_restore(unsigned int flags)
> @@ -265,7 +265,7 @@ static inline unsigned int memalloc_nofs
> * @flags: Flags to restore.
> *
> * Ends the implicit GFP_NOFS scope started by memalloc_nofs_save function.
> - * Always make sure that that the given flags is the return value from the
> + * Always make sure that the given flags is the return value from the
> * pairing memalloc_nofs_save call.
> */
> static inline void memalloc_nofs_restore(unsigned int flags)
>
^ permalink raw reply [flat|nested] 3+ messages in thread
* [tip: sched/core] linux/sched/mm.h: drop duplicated words in comments
2020-07-16 1:30 [PATCH] linux/sched/mm.h: drop duplicated words in comments Randy Dunlap
2020-07-16 14:40 ` SeongJae Park
@ 2020-07-22 9:12 ` tip-bot2 for Randy Dunlap
1 sibling, 0 replies; 3+ messages in thread
From: tip-bot2 for Randy Dunlap @ 2020-07-22 9:12 UTC (permalink / raw)
To: linux-tip-commits; +Cc: Randy Dunlap, Peter Zijlstra (Intel), x86, LKML
The following commit has been merged into the sched/core branch of tip:
Commit-ID: e0078e2eb8620079d988f150ba02a4ce9b5a946a
Gitweb: https://git.kernel.org/tip/e0078e2eb8620079d988f150ba02a4ce9b5a946a
Author: Randy Dunlap <rdunlap@infradead.org>
AuthorDate: Wed, 15 Jul 2020 18:30:31 -07:00
Committer: Peter Zijlstra <peterz@infradead.org>
CommitterDate: Wed, 22 Jul 2020 10:22:05 +02:00
linux/sched/mm.h: drop duplicated words in comments
Drop doubled words "to" and "that".
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lkml.kernel.org/r/927ea8d8-3f6c-9b65-4c2b-63ab4bd59ef1@infradead.org
---
include/linux/sched/mm.h | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/include/linux/sched/mm.h b/include/linux/sched/mm.h
index a98604e..6be66f5 100644
--- a/include/linux/sched/mm.h
+++ b/include/linux/sched/mm.h
@@ -23,7 +23,7 @@ extern struct mm_struct *mm_alloc(void);
* will still exist later on and mmget_not_zero() has to be used before
* accessing it.
*
- * This is a preferred way to to pin @mm for a longer/unbounded amount
+ * This is a preferred way to pin @mm for a longer/unbounded amount
* of time.
*
* Use mmdrop() to release the reference acquired by mmgrab().
@@ -232,7 +232,7 @@ static inline unsigned int memalloc_noio_save(void)
* @flags: Flags to restore.
*
* Ends the implicit GFP_NOIO scope started by memalloc_noio_save function.
- * Always make sure that that the given flags is the return value from the
+ * Always make sure that the given flags is the return value from the
* pairing memalloc_noio_save call.
*/
static inline void memalloc_noio_restore(unsigned int flags)
@@ -263,7 +263,7 @@ static inline unsigned int memalloc_nofs_save(void)
* @flags: Flags to restore.
*
* Ends the implicit GFP_NOFS scope started by memalloc_nofs_save function.
- * Always make sure that that the given flags is the return value from the
+ * Always make sure that the given flags is the return value from the
* pairing memalloc_nofs_save call.
*/
static inline void memalloc_nofs_restore(unsigned int flags)
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2020-07-22 9:12 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-16 1:30 [PATCH] linux/sched/mm.h: drop duplicated words in comments Randy Dunlap
2020-07-16 14:40 ` SeongJae Park
2020-07-22 9:12 ` [tip: sched/core] " tip-bot2 for Randy Dunlap
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®