summaryrefslogtreecommitdiffstats
path: root/kernel/softirq.c
diff options
context:
space:
mode:
authorYangtao Li <tiny.windzz@gmail.com>2018-10-18 10:21:33 -0400
committerIngo Molnar <mingo@kernel.org>2018-10-18 18:10:23 +0200
commite45506ac0af9b56b221863e9649fe122d8bb42ff (patch)
tree4b0736aee57e68cebca629430c185e29e71dc195 /kernel/softirq.c
parentb8d62f33b7b225935649ab165d901fe8dd7f95e5 (diff)
downloadlinux-stable-e45506ac0af9b56b221863e9649fe122d8bb42ff.tar.gz
linux-stable-e45506ac0af9b56b221863e9649fe122d8bb42ff.tar.bz2
linux-stable-e45506ac0af9b56b221863e9649fe122d8bb42ff.zip
softirq: Fix typo in __do_softirq() comments
s/s/as [ mingo: Also add a missing 'the', add proper punctuation and clarify what 'swap' means here. ] Signed-off-by: Yangtao Li <tiny.windzz@gmail.com> Cc: Linus Torvalds <torvalds@linux-foundation.org> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: alexander.levin@verizon.com Cc: frederic@kernel.org Cc: joel@joelfernandes.org Cc: paulmck@linux.vnet.ibm.com Cc: rostedt@goodmis.org Link: http://lkml.kernel.org/r/20181018142133.12341-1-tiny.windzz@gmail.com Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'kernel/softirq.c')
-rw-r--r--kernel/softirq.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/kernel/softirq.c b/kernel/softirq.c
index 6f584861d329..9526895fe4ac 100644
--- a/kernel/softirq.c
+++ b/kernel/softirq.c
@@ -257,9 +257,9 @@ asmlinkage __visible void __softirq_entry __do_softirq(void)
int softirq_bit;
/*
- * Mask out PF_MEMALLOC s current task context is borrowed for the
- * softirq. A softirq handled such as network RX might set PF_MEMALLOC
- * again if the socket is related to swap
+ * Mask out PF_MEMALLOC as the current task context is borrowed for the
+ * softirq. A softirq handled, such as network RX, might set PF_MEMALLOC
+ * again if the socket is related to swapping.
*/
current->flags &= ~PF_MEMALLOC;