public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [patch V4 0/2] smp: Make softirq handling RT friendly
@ 2022-04-12 20:51 Thomas Gleixner
  2022-04-12 20:51 ` [patch V4 1/2] smp: Rename flush_smp_call_function_from_idle() Thomas Gleixner
  2022-04-12 20:51 ` [patch V4 2/2] smp: Make softirq handling RT safe in flush_smp_call_function_queue() Thomas Gleixner
  0 siblings, 2 replies; 6+ messages in thread
From: Thomas Gleixner @ 2022-04-12 20:51 UTC (permalink / raw)
  To: LKML; +Cc: Christoph Hellwig, Peter Zijlstra, Sebastian Andrzej Siewior

The invocation of do_softirq() in flush_smp_call_function_from_idle()
breaks on RT because RT does not provide do_softirq().

Aside of that flush_smp_call_function_from_idle() is a misnomer since the
function is invoked not only from idle, but also from the scheduler
migration thread.

The following series addresses this. Changes vs. V3, which can be found
here: https://lore.kernel.org/lkml/YgKgL6aPj8aBES6G@linutronix.de

  - Rename flush_smp_call_function_from_idle() and add comments

  - Confine the RT specifics in the softirq code

Thanks,

	tglx
---
 include/linux/interrupt.h |    9 +++++++++
 kernel/sched/core.c       |    2 +-
 kernel/sched/idle.c       |    2 +-
 kernel/sched/sched.h      |    4 ++--
 kernel/smp.c              |   32 ++++++++++++++++++++++++--------
 kernel/softirq.c          |   13 +++++++++++++
 6 files changed, 50 insertions(+), 12 deletions(-)





^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2022-04-13 13:00 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-04-12 20:51 [patch V4 0/2] smp: Make softirq handling RT friendly Thomas Gleixner
2022-04-12 20:51 ` [patch V4 1/2] smp: Rename flush_smp_call_function_from_idle() Thomas Gleixner
2022-04-13  2:52   ` kernel test robot
2022-04-13 13:00     ` Thomas Gleixner
2022-04-13  2:53   ` kernel test robot
2022-04-12 20:51 ` [patch V4 2/2] smp: Make softirq handling RT safe in flush_smp_call_function_queue() Thomas Gleixner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox