softirq: Fix typo in __do_softirq() comments
authorYangtao Li <tiny.windzz@gmail.com>
Thu, 18 Oct 2018 14:21:33 +0000 (10:21 -0400)
committerIngo Molnar <mingo@kernel.org>
Thu, 18 Oct 2018 16:10:23 +0000 (18:10 +0200)
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>
kernel/softirq.c

index 6f584861d329bfb0382a5691320938cf3db7009b..9526895fe4ace8d74b178ceb0cbafe6fdfa36f67 100644 (file)
@@ -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;