rcu: remove "select IRQ_WORK" from config TREE_RCU
PATCH 1/1 rcu: remove "select IRQ_WORK" from config TREE_RCU
The 48a7639ce80c ("rcu: Make callers awaken grace-period kthread") removed the irq_work_queue(), so the TREE_RCU doesn't need irq work any more.
Signed-off-by Lai Jiangshan <[email protected]>
--- init/Kconfig | 2 -- kernel/rcu/tree.h | 1 - 2 files changed, 0 insertions(+), 3 deletions(-)
init/Kconfig +0 -2
@@ -470,7 +470,6 @@ choice config TREE_RCU bool "Tree-based hierarchical RCU" depends on !PREEMPT && SMP - select IRQ_WORK help This option selects the RCU implementation that is designed for very large SMP system with hundreds or
@@ -480,7 +479,6 @@ config TREE_RCU config PREEMPT_RCU bool "Preemptible tree-based hierarchical RCU" depends on PREEMPT - select IRQ_WORK help This option selects the RCU implementation that is designed for very large SMP systems with hundreds or
kernel/rcu/tree.h +0 -1
@@ -27,7 +27,6 @@#include <linux/threads.h> #include <linux/cpumask.h> #include <linux/seqlock.h> -#include <linux/irq_work.h> /* * Define shape of hierarchy based on NR_CPUS, CONFIG_RCU_FANOUT, and
Signature · 1 line
1.7.4.4
Quoted 5 lines · Lai Jiangshan
The
48a7639ce80c("rcu: Make callers awaken grace-period kthread") removed theirq_work_queue(), so theTREE_RCUdoesn't need irq work any more.Signed-off-by Lai Jiangshan <[email protected]>
Good catch, queued for 3.20. Thank you!
Thanx, Paul
Quoted 40 lines
--- init/Kconfig | 2 -- kernel/rcu/tree.h | 1 - 2 files changed, 0 insertions(+), 3 deletions(-)init/Kconfig +0
-2@@ -470,7 +470,6 @@ choice config TREE_RCU bool "Tree-based hierarchical RCU" depends on !PREEMPT && SMP - select IRQ_WORK help This option selects the RCU implementation that is designed for very large SMP system with hundreds or@@ -480,7 +479,6 @@ config TREE_RCU config PREEMPT_RCU bool "Preemptible tree-based hierarchical RCU" depends on PREEMPT - select IRQ_WORK help This option selects the RCU implementation that is designed for very large SMP systems with hundreds orkernel/rcu/tree.h +0
-1@@ -27,7 +27,6 @@#include <linux/threads.h> #include <linux/cpumask.h> #include <linux/seqlock.h> -#include <linux/irq_work.h> /* * Define shape of hierarchy based on NR_CPUS, CONFIG_RCU_FANOUT, and Signature · 1 line
1.7.4.4