softirq: Consolidate common code in tasklet_[hi]_action()
authorIngo Molnar <mingo@kernel.org>
Tue, 27 Feb 2018 16:48:08 +0000 (17:48 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Fri, 9 Mar 2018 10:50:55 +0000 (11:50 +0100)
commit82b691bedf05f258f1c86c96ee574b0d7795c0a1
treed97728fa77c736941fbcf7e0792f54bfe9bbf4c2
parent6498ddad301c7a94162915d06d1efe2e5d20f6dc
softirq: Consolidate common code in tasklet_[hi]_action()

tasklet_action() + tasklet_hi_action() are almost identical.  Move the
common code from both function into __tasklet_action_common() and let
both functions invoke it with different arguments.

[ bigeasy: Splitted out from RT's "tasklet: Prevent tasklets from going
   into infinite spin in RT" and added commit message]

Signed-off-by: Ingo Molnar <mingo@kernel.org>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Cc: Julia Cartwright <juliac@eso.teric.us>
Link: https://lkml.kernel.org/r/20180227164808.10093-3-bigeasy@linutronix.de
kernel/softirq.c