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:   Fri, 27 Oct 2023 16:40:46 +0200
From:   Frederic Weisbecker <frederic@...nel.org>
To:     LKML <linux-kernel@...r.kernel.org>
Cc:     Frederic Weisbecker <frederic@...nel.org>,
        Steven Rostedt <rostedt@...dmis.org>,
        rcu <rcu@...r.kernel.org>, Uladzislau Rezki <urezki@...il.com>,
        Neeraj Upadhyay <neeraj.upadhyay@....com>,
        Mathieu Desnoyers <mathieu.desnoyers@...icios.com>,
        Boqun Feng <boqun.feng@...il.com>,
        "Paul E . McKenney" <paulmck@...nel.org>,
        Joel Fernandes <joel@...lfernandes.org>,
        Josh Triplett <josh@...htriplett.org>,
        Zqiang <qiang.zhang1211@...il.com>,
        "Liam R . Howlett" <Liam.Howlett@...cle.com>,
        Peter Zijlstra <peterz@...radead.org>
Subject: [PATCH 0/4] rcu: Fix PF_IDLE related issues v3

Hi,

The modification of PF_IDLE semantics lately to fix a bug in rcutiny
eventually introduced new bugs in RCU-tasks. This v3 carries the
following changes:

* Use per_cpu_ptr() to correctly handle the remote CPU on [1/4] (Thanks Zqiang)

* Test is_idle_task() even for non-idle task (idle injection) [2/4] (Thanks Peterz)

* No need to use WRITE_ONCE() / READ_ONCE() on PF_IDLE modification [4/4]
  (Thanks Peterz)

git://git.kernel.org/pub/scm/linux/kernel/git/frederic/linux-dynticks.git
	rcu/tasks-dev

HEAD: afb666ef0fcde0b2ec30b007b0b30e5622ea30f0

Thanks,
	Frederic
---

Frederic Weisbecker (4):
      rcu: Introduce rcu_cpu_online()
      rcu/tasks: Handle new PF_IDLE semantics
      rcu/tasks-trace: Handle new PF_IDLE semantics
      sched: Exclude CPU boot code from PF_IDLE area


 kernel/cpu.c        |  4 ++++
 kernel/rcu/rcu.h    |  2 ++
 kernel/rcu/tasks.h  | 32 +++++++++++++++++++++++++++++---
 kernel/rcu/tree.c   |  7 +++++++
 kernel/sched/idle.c |  1 -
 5 files changed, 42 insertions(+), 4 deletions(-)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ