smp: Make softirq handling RT friendly
Status from this message: The following commit has been merged into the sched/core branch of tip:
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v5 Latest3 patches 2 repliesApplied
- v42 patches 1 replySuperseded
Patches in v5 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | sched: Fix missing prototype warningsinclude/ kernel/ kernel/ +6 more | +17 | 0 replies | |
| 2/3 | smp: Rename flush_smp_call_function_from_idle()kernel/ kernel/ kernel/ +1 more | +24 | 0 replies | |
| 3/3 | smp: Make softirq handling RT safe in flush_smp_call_function_queue()include/ kernel/ kernel/ | +26 | 1 reply |
Reviews trailers per patch
None of the 3 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Peter Zijlstra (Intel) |
|---|---|
| Series | A-b |
| 1/3 | |
| 2/3 | |
| 3/3 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [patch V5 0/3] smp: Make softirq handling RT friendly
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. V4, which can be found
here: https://lore.kernel.org/lkml/[email protected]
- Fix a boatload of missing prototypes warning related to the scheduler and its header files.
Thanks,
tglx
--- include/linux/interrupt.h | 9 +++++++++ include/linux/sched.h | 2 ++ kernel/sched/build_policy.c | 2 ++ kernel/sched/build_utility.c | 1 + kernel/sched/core.c | 5 ++++- kernel/sched/deadline.c | 2 -- kernel/sched/fair.c | 1 + kernel/sched/idle.c | 2 +- kernel/sched/sched.h | 8 ++------ kernel/sched/smp.h | 6 ++++++ kernel/smp.c | 32 ++++++++++++++++++++++++-------- kernel/softirq.c | 13 +++++++++++++ kernel/stop_machine.c | 2 -- 13 files changed, 65 insertions(+), 20 deletions(-)