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, 28 Sep 2010 17:33:20 -0700
From:	"Paul E. McKenney" <paulmck@...ux.vnet.ibm.com>
To:	linux-kernel@...r.kernel.org
Cc:	mingo@...e.hu, laijs@...fujitsu.com, dipankar@...ibm.com,
	akpm@...ux-foundation.org, mathieu.desnoyers@...ymtl.ca,
	josh@...htriplett.org, niv@...ibm.com, tglx@...utronix.de,
	peterz@...radead.org, rostedt@...dmis.org, Valdis.Kletnieks@...edu,
	dhowells@...hat.com, eric.dumazet@...il.com
Subject: [PATCH RFC tip/core/rcu 0/3] v1 RCU priority boosting

Hello!

This patch set is the first version of RCU priority boosting, consisting
of the following:

1.	Add RCU priority inversion testing to rcutorture.
2.	Move TINY_RCU grace-period processing from softirq to kthread
	to allow boosting.
3.	Implement RCU priority boosting for TINY_RCU.

This patch has the following shortcomings, and thus is not yet ready for
inclusion:

o	It does not yet include some restructuring of TREE_RCU that
	is required to make boosting practical.

o	It does not yet include boosting for TREE_RCU.

o	Documentation has not yet been updated.  In the meantime, it is
	important to note that the "rcu_kthread" process must have its
	priority set to at least SCHED_FIFO:2, given that rcutorture
	uses SCHED_FIFO:1 to do the testing.  This priority can be set
	using the new RCU_BOOST_PRIO kernel configuration parameter
	or by using the "chrt" command, for example, "chrt -p 2 6".

o	A great deal more testing is required.

o	There are probably quite a few bugs remaining, even in the parts
	done thus far.

							Thanx, Paul

 b/include/linux/init_task.h |    9 +
 b/include/linux/rcupdate.h  |    1 
 b/include/linux/rcutiny.h   |    8 -
 b/include/linux/rcutree.h   |    1 
 b/include/linux/sched.h     |   11 +
 b/init/Kconfig              |   39 ++++++
 b/kernel/rcutiny.c          |   71 +++++++++--
 b/kernel/rcutiny_plugin.h   |   15 +-
 b/kernel/rcutorture.c       |  270 ++++++++++++++++++++++++++++++++++++++++++--
 kernel/rcutiny.c            |   66 ++++------
 kernel/rcutiny_plugin.h     |  206 ++++++++++++++++++++++++++++++++-
 11 files changed, 608 insertions(+), 89 deletions(-)
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ