summaryrefslogtreecommitdiffstats
path: root/kernel/irq
diff options
context:
space:
mode:
authorIngo Molnar <mingo@kernel.org>2018-02-27 17:48:07 +0100
committerThomas Gleixner <tglx@linutronix.de>2018-03-09 11:50:55 +0100
commit6498ddad301c7a94162915d06d1efe2e5d20f6dc (patch)
treeb823456fd4e12982b6ad59d12192b437d9c30a34 /kernel/irq
parentf09777fa891327ee0dd892e83619f156bf1c37e6 (diff)
softirq: Consolidate common code in __tasklet_[hi]_schedule()
__tasklet_schedule() and __tasklet_hi_schedule() are almost identical. Move the common code from both function into __tasklet_schedule_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. Use this_cpu_ptr(headp) in __tasklet_schedule_common() as suggested by Julia Cartwright ] 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-2-bigeasy@linutronix.de
Diffstat (limited to 'kernel/irq')
0 files changed, 0 insertions, 0 deletions