Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Unhacking tiny rcu a little bit

  • Loading branch information...
commit 9f5506d48a594ca66d4846ef76451cd85a6fc101 1 parent 0497e32
@tanimn authored
Showing with 8 additions and 4 deletions.
  1. +1 −1  Kernel/init/Kconfig
  2. +7 −3 Kernel/kernel/Makefile
View
2  Kernel/init/Kconfig
@@ -314,7 +314,7 @@ menu "RCU Subsystem"
choice
prompt "RCU Implementation"
- default TREE_RCU
+ default TINY_RCU
config TREE_RCU
bool "Tree-based hierarchical RCU"
View
10 Kernel/kernel/Makefile
@@ -79,10 +79,14 @@ obj-$(CONFIG_DETECT_HUNG_TASK) += hung_task.o
obj-$(CONFIG_GENERIC_HARDIRQS) += irq/
obj-$(CONFIG_SECCOMP) += seccomp.o
obj-$(CONFIG_RCU_TORTURE_TEST) += rcutorture.o
-# obj-$(CONFIG_TREE_RCU) += rcutree.o
-# obj-$(CONFIG_TREE_PREEMPT_RCU) += rcutree.o
-# obj-$(CONFIG_TREE_RCU_TRACE) += rcutree_trace.o
+ifdef CONFIG_TREE_RCU
+obj-$(CONFIG_TREE_RCU) += rcutree.o
+obj-$(CONFIG_TREE_PREEMPT_RCU) += rcutree.o
+obj-$(CONFIG_TREE_RCU_TRACE) += rcutree_trace.o
+endif
+ifdef CONFIG_TINY_RCU
obj-$(CONFIG_TINY_RCU) += rcutiny.o
+endif
obj-$(CONFIG_RELAY) += relay.o
obj-$(CONFIG_SYSCTL) += utsname_sysctl.o
obj-$(CONFIG_TASK_DELAY_ACCT) += delayacct.o
Please sign in to comment.
Something went wrong with that request. Please try again.