Messages in this thread | | | Date | Mon, 23 Apr 2012 09:41:59 -0700 | From | "Paul E. McKenney" <> | Subject | [PATCH RFC 0/6] Miscellaneous RCU fixes for 3.5 |
| |
Hello!
This series includes several miscellaneous fixes for RCU as follows:
1. Make the rcu_blocking_is_gp() function properly guard against concurrent CPU-hotplug operations. 2. Make __list_add_rcu() do pointer checks like __list_add() does, courtesy of Dave Jones. 3. Replace the "unsafe at any speed" list_first_entry_rcu() macro with a safe and sane list_first_or_null_rcu(), courtesy of Michel Machado. 4. Clarify help text for the RCU_BOOST_PRIO kernel config parameter. 5. Convert __kfree_rcu() from an inline function to a macro in order to avoid spurious build failures should gcc fail to inline it. Courtesy of Jan Engelhardt. 6. Reduce cache-miss initialization latencies for large systems. Given the widespread use of NR_CPUS=4096, there are a lot of large systems out there.
Thanx, Paul
b/include/linux/rculist.h | 7 ++++++- b/include/linux/rcupdate.h | 18 ++++++++++++++++++ b/include/linux/rcutree.h | 7 ++++++- b/init/Kconfig | 23 +++++++++++++++++++---- b/kernel/rcutree.c | 2 +- b/kernel/rcutree.h | 10 +++------- b/lib/list_debug.c | 22 ++++++++++++++++++++++ include/linux/rculist.h | 33 +++++++++++++++++++++++++++++---- init/Kconfig | 27 +++++++++++++++++++++++++++ 9 files changed, 131 insertions(+), 18 deletions(-)
| |