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:   Wed, 27 Jun 2018 13:48:35 -0700
From:   "Paul E. McKenney" <paulmck@...ux.vnet.ibm.com>
To:     linux-kernel@...r.kernel.org
Cc:     mingo@...nel.org, jiangshanlai@...il.com, dipankar@...ibm.com,
        akpm@...ux-foundation.org, mathieu.desnoyers@...icios.com,
        josh@...htriplett.org, tglx@...utronix.de, peterz@...radead.org,
        rostedt@...dmis.org, dhowells@...hat.com, edumazet@...gle.com,
        fweisbec@...il.com, oleg@...hat.com, joel@...lfernandes.org
Subject: [PATCH RFC tip/core/rcu 0/2] RCU consolidation patches

Hello!

This series is a sneak preview of a pair of patches that does the actual
consolidation of RCU-bh and RCU-sched functionality into RCU-preempt.
This does pass some light rcutorture testing, but left unattended will
no doubt do unspeakable things to your pets, your loved ones, and your
household devices.  Once fully debugged, this patch set will be followed
up with a cleanup series that actually removes RCU-bh and RCU-sched.
In the meantime:

1.	Make RCU-preempt treat disabling of interrupts, preemption,
	and/or softirq as read-side critical sections.	Most of the
	complexity deals with composite read-side critical sections in
	which sometimes preemption is disabled, other times there is an
	rcu_read_lock() in force, yet other times interrupts are disabled,
	and so on.

2.	Make the "rcu" torture type create composite read-side critical
	sections in order to test #1 above.

There is some faint hope of these going into the next merge window,
but it is far more likely that bug fixing will take longer than that,
pushing them into the merge window following the next one.  Furthermore,
without the cleanup patches, the actual goal of having only one flavor
of RCU is not met.  Besides, given the large number of patches already
slated for the next merge window, deferring any additional patches might
not be such a bad idea anyway.

							Thanx, Paul

------------------------------------------------------------------------

 Documentation/RCU/Design/Requirements/Requirements.html |   50 ++---
 include/linux/rcutiny.h                                 |    5 
 kernel/rcu/rcutorture.c                                 |    1 
 kernel/rcu/tree.c                                       |    9 +
 kernel/rcu/tree.h                                       |    3 
 kernel/rcu/tree_exp.h                                   |   71 ++++++--
 kernel/rcu/tree_plugin.h                                |  138 +++++++++++-----
 7 files changed, 200 insertions(+), 77 deletions(-)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ