lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:   Tue, 12 Apr 2022 22:51:45 +0200 (CEST)
From:   Thomas Gleixner <tglx@...utronix.de>
To:     LKML <linux-kernel@...r.kernel.org>
Cc:     Christoph Hellwig <hch@...radead.org>,
        Peter Zijlstra <peterz@...radead.org>,
        Sebastian Andrzej Siewior <bigeasy@...utronix.de>
Subject: [patch V4 0/2] 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. 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(-)




Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ