diff options
author | Pranith Kumar <bobby.prani@gmail.com> | 2014-09-22 14:00:48 -0400 |
---|---|---|
committer | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2014-10-29 13:20:05 -0400 |
commit | 28f6569ab7d036cd4ee94c26bb76dc1b3f3fc056 (patch) | |
tree | dd09624ed00e1f67fdd87bf670da19761ed78ea6 | |
parent | 21871d7eff2c96ae67e18e00adf59d56940e2fcc (diff) |
rcu: Remove redundant TREE_PREEMPT_RCU config option
PREEMPT_RCU and TREE_PREEMPT_RCU serve the same function after
TINY_PREEMPT_RCU has been removed. This patch removes TREE_PREEMPT_RCU
and uses PREEMPT_RCU config option in its place.
Signed-off-by: Pranith Kumar <bobby.prani@gmail.com>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
48 files changed, 74 insertions, 80 deletions
diff --git a/Documentation/RCU/rcu.txt b/Documentation/RCU/rcu.txt index bf778332a28f..745f429fda79 100644 --- a/Documentation/RCU/rcu.txt +++ b/Documentation/RCU/rcu.txt | |||
@@ -36,7 +36,7 @@ o How can the updater tell when a grace period has completed | |||
36 | executed in user mode, or executed in the idle loop, we can | 36 | executed in user mode, or executed in the idle loop, we can |
37 | safely free up that item. | 37 | safely free up that item. |
38 | 38 | ||
39 | Preemptible variants of RCU (CONFIG_TREE_PREEMPT_RCU) get the | 39 | Preemptible variants of RCU (CONFIG_PREEMPT_RCU) get the |
40 | same effect, but require that the readers manipulate CPU-local | 40 | same effect, but require that the readers manipulate CPU-local |
41 | counters. These counters allow limited types of blocking within | 41 | counters. These counters allow limited types of blocking within |
42 | RCU read-side critical sections. SRCU also uses CPU-local | 42 | RCU read-side critical sections. SRCU also uses CPU-local |
@@ -81,7 +81,7 @@ o I hear that RCU is patented? What is with that? | |||
81 | o I hear that RCU needs work in order to support realtime kernels? | 81 | o I hear that RCU needs work in order to support realtime kernels? |
82 | 82 | ||
83 | This work is largely completed. Realtime-friendly RCU can be | 83 | This work is largely completed. Realtime-friendly RCU can be |
84 | enabled via the CONFIG_TREE_PREEMPT_RCU kernel configuration | 84 | enabled via the CONFIG_PREEMPT_RCU kernel configuration |
85 | parameter. However, work is in progress for enabling priority | 85 | parameter. However, work is in progress for enabling priority |
86 | boosting of preempted RCU read-side critical sections. This is | 86 | boosting of preempted RCU read-side critical sections. This is |
87 | needed if you have CPU-bound realtime threads. | 87 | needed if you have CPU-bound realtime threads. |
diff --git a/Documentation/RCU/stallwarn.txt b/Documentation/RCU/stallwarn.txt index ef5a2fd4ff70..783e0720994d 100644 --- a/Documentation/RCU/stallwarn.txt +++ b/Documentation/RCU/stallwarn.txt | |||
@@ -77,7 +77,7 @@ This message indicates that CPU 5 detected that it was causing a stall, | |||
77 | and that the stall was affecting RCU-sched. This message will normally be | 77 | and that the stall was affecting RCU-sched. This message will normally be |
78 | followed by a stack dump of the offending CPU. On TREE_RCU kernel builds, | 78 | followed by a stack dump of the offending CPU. On TREE_RCU kernel builds, |
79 | RCU and RCU-sched are implemented by the same underlying mechanism, | 79 | RCU and RCU-sched are implemented by the same underlying mechanism, |
80 | while on TREE_PREEMPT_RCU kernel builds, RCU is instead implemented | 80 | while on PREEMPT_RCU kernel builds, RCU is instead implemented |
81 | by rcu_preempt_state. | 81 | by rcu_preempt_state. |
82 | 82 | ||
83 | On the other hand, if the offending CPU fails to print out a stall-warning | 83 | On the other hand, if the offending CPU fails to print out a stall-warning |
@@ -89,7 +89,7 @@ INFO: rcu_bh_state detected stalls on CPUs/tasks: { 3 5 } (detected by 2, 2502 j | |||
89 | This message indicates that CPU 2 detected that CPUs 3 and 5 were both | 89 | This message indicates that CPU 2 detected that CPUs 3 and 5 were both |
90 | causing stalls, and that the stall was affecting RCU-bh. This message | 90 | causing stalls, and that the stall was affecting RCU-bh. This message |
91 | will normally be followed by stack dumps for each CPU. Please note that | 91 | will normally be followed by stack dumps for each CPU. Please note that |
92 | TREE_PREEMPT_RCU builds can be stalled by tasks as well as by CPUs, | 92 | PREEMPT_RCU builds can be stalled by tasks as well as by CPUs, |
93 | and that the tasks will be indicated by PID, for example, "P3421". | 93 | and that the tasks will be indicated by PID, for example, "P3421". |
94 | It is even possible for a rcu_preempt_state stall to be caused by both | 94 | It is even possible for a rcu_preempt_state stall to be caused by both |
95 | CPUs -and- tasks, in which case the offending CPUs and tasks will all | 95 | CPUs -and- tasks, in which case the offending CPUs and tasks will all |
@@ -205,10 +205,10 @@ o A CPU-bound real-time task in a CONFIG_PREEMPT kernel, which might | |||
205 | o A CPU-bound real-time task in a CONFIG_PREEMPT_RT kernel that | 205 | o A CPU-bound real-time task in a CONFIG_PREEMPT_RT kernel that |
206 | is running at a higher priority than the RCU softirq threads. | 206 | is running at a higher priority than the RCU softirq threads. |
207 | This will prevent RCU callbacks from ever being invoked, | 207 | This will prevent RCU callbacks from ever being invoked, |
208 | and in a CONFIG_TREE_PREEMPT_RCU kernel will further prevent | 208 | and in a CONFIG_PREEMPT_RCU kernel will further prevent |
209 | RCU grace periods from ever completing. Either way, the | 209 | RCU grace periods from ever completing. Either way, the |
210 | system will eventually run out of memory and hang. In the | 210 | system will eventually run out of memory and hang. In the |
211 | CONFIG_TREE_PREEMPT_RCU case, you might see stall-warning | 211 | CONFIG_PREEMPT_RCU case, you might see stall-warning |
212 | messages. | 212 | messages. |
213 | 213 | ||
214 | o A hardware or software issue shuts off the scheduler-clock | 214 | o A hardware or software issue shuts off the scheduler-clock |
diff --git a/Documentation/RCU/trace.txt b/Documentation/RCU/trace.txt index 910870b15acd..b63b9bb3bc0c 100644 --- a/Documentation/RCU/trace.txt +++ b/Documentation/RCU/trace.txt | |||
@@ -8,7 +8,7 @@ The following sections describe the debugfs files and formats, first | |||
8 | for rcutree and next for rcutiny. | 8 | for rcutree and next for rcutiny. |
9 | 9 | ||
10 | 10 | ||
11 | CONFIG_TREE_RCU and CONFIG_TREE_PREEMPT_RCU debugfs Files and Formats | 11 | CONFIG_TREE_RCU and CONFIG_PREEMPT_RCU debugfs Files and Formats |
12 | 12 | ||
13 | These implementations of RCU provide several debugfs directories under the | 13 | These implementations of RCU provide several debugfs directories under the |
14 | top-level directory "rcu": | 14 | top-level directory "rcu": |
@@ -18,7 +18,7 @@ rcu/rcu_preempt | |||
18 | rcu/rcu_sched | 18 | rcu/rcu_sched |
19 | 19 | ||
20 | Each directory contains files for the corresponding flavor of RCU. | 20 | Each directory contains files for the corresponding flavor of RCU. |
21 | Note that rcu/rcu_preempt is only present for CONFIG_TREE_PREEMPT_RCU. | 21 | Note that rcu/rcu_preempt is only present for CONFIG_PREEMPT_RCU. |
22 | For CONFIG_TREE_RCU, the RCU flavor maps onto the RCU-sched flavor, | 22 | For CONFIG_TREE_RCU, the RCU flavor maps onto the RCU-sched flavor, |
23 | so that activity for both appears in rcu/rcu_sched. | 23 | so that activity for both appears in rcu/rcu_sched. |
24 | 24 | ||
diff --git a/Documentation/RCU/whatisRCU.txt b/Documentation/RCU/whatisRCU.txt index e48c57f1943b..88dfce182f66 100644 --- a/Documentation/RCU/whatisRCU.txt +++ b/Documentation/RCU/whatisRCU.txt | |||
@@ -137,7 +137,7 @@ rcu_read_lock() | |||
137 | Used by a reader to inform the reclaimer that the reader is | 137 | Used by a reader to inform the reclaimer that the reader is |
138 | entering an RCU read-side critical section. It is illegal | 138 | entering an RCU read-side critical section. It is illegal |
139 | to block while in an RCU read-side critical section, though | 139 | to block while in an RCU read-side critical section, though |
140 | kernels built with CONFIG_TREE_PREEMPT_RCU can preempt RCU | 140 | kernels built with CONFIG_PREEMPT_RCU can preempt RCU |
141 | read-side critical sections. Any RCU-protected data structure | 141 | read-side critical sections. Any RCU-protected data structure |
142 | accessed during an RCU read-side critical section is guaranteed to | 142 | accessed during an RCU read-side critical section is guaranteed to |
143 | remain unreclaimed for the full duration of that critical section. | 143 | remain unreclaimed for the full duration of that critical section. |
diff --git a/include/linux/init_task.h b/include/linux/init_task.h index 77fc43f8fb72..d996aef8044f 100644 --- a/include/linux/init_task.h +++ b/include/linux/init_task.h | |||
@@ -102,7 +102,7 @@ extern struct group_info init_groups; | |||
102 | #define INIT_IDS | 102 | #define INIT_IDS |
103 | #endif | 103 | #endif |
104 | 104 | ||
105 | #ifdef CONFIG_TREE_PREEMPT_RCU | 105 | #ifdef CONFIG_PREEMPT_RCU |
106 | #define INIT_TASK_RCU_TREE_PREEMPT() \ | 106 | #define INIT_TASK_RCU_TREE_PREEMPT() \ |
107 | .rcu_blocked_node = NULL, | 107 | .rcu_blocked_node = NULL, |
108 | #else | 108 | #else |
diff --git a/include/linux/rcupdate.h b/include/linux/rcupdate.h index a4a819ffb2d1..295bb4595de6 100644 --- a/include/linux/rcupdate.h +++ b/include/linux/rcupdate.h | |||
@@ -57,7 +57,7 @@ enum rcutorture_type { | |||
57 | INVALID_RCU_FLAVOR | 57 | INVALID_RCU_FLAVOR |
58 | }; | 58 | }; |
59 | 59 | ||
60 | #if defined(CONFIG_TREE_RCU) || defined(CONFIG_TREE_PREEMPT_RCU) | 60 | #if defined(CONFIG_TREE_RCU) || defined(CONFIG_PREEMPT_RCU) |
61 | void rcutorture_get_gp_data(enum rcutorture_type test_type, int *flags, | 61 | void rcutorture_get_gp_data(enum rcutorture_type test_type, int *flags, |
62 | unsigned long *gpnum, unsigned long *completed); | 62 | unsigned long *gpnum, unsigned long *completed); |
63 | void rcutorture_record_test_transition(void); | 63 | void rcutorture_record_test_transition(void); |
@@ -365,7 +365,7 @@ typedef void call_rcu_func_t(struct rcu_head *head, | |||
365 | void (*func)(struct rcu_head *head)); | 365 | void (*func)(struct rcu_head *head)); |
366 | void wait_rcu_gp(call_rcu_func_t crf); | 366 | void wait_rcu_gp(call_rcu_func_t crf); |
367 | 367 | ||
368 | #if defined(CONFIG_TREE_RCU) || defined(CONFIG_TREE_PREEMPT_RCU) | 368 | #if defined(CONFIG_TREE_RCU) || defined(CONFIG_PREEMPT_RCU) |
369 | #include <linux/rcutree.h> | 369 | #include <linux/rcutree.h> |
370 | #elif defined(CONFIG_TINY_RCU) | 370 | #elif defined(CONFIG_TINY_RCU) |
371 | #include <linux/rcutiny.h> | 371 | #include <linux/rcutiny.h> |
@@ -852,7 +852,7 @@ static inline void rcu_preempt_sleep_check(void) | |||
852 | * | 852 | * |
853 | * In non-preemptible RCU implementations (TREE_RCU and TINY_RCU), | 853 | * In non-preemptible RCU implementations (TREE_RCU and TINY_RCU), |
854 | * it is illegal to block while in an RCU read-side critical section. | 854 | * it is illegal to block while in an RCU read-side critical section. |
855 | * In preemptible RCU implementations (TREE_PREEMPT_RCU) in CONFIG_PREEMPT | 855 | * In preemptible RCU implementations (PREEMPT_RCU) in CONFIG_PREEMPT |
856 | * kernel builds, RCU read-side critical sections may be preempted, | 856 | * kernel builds, RCU read-side critical sections may be preempted, |
857 | * but explicit blocking is illegal. Finally, in preemptible RCU | 857 | * but explicit blocking is illegal. Finally, in preemptible RCU |
858 | * implementations in real-time (with -rt patchset) kernel builds, RCU | 858 | * implementations in real-time (with -rt patchset) kernel builds, RCU |
diff --git a/include/linux/sched.h b/include/linux/sched.h index 5e344bbe63ec..706a9f744909 100644 --- a/include/linux/sched.h +++ b/include/linux/sched.h | |||
@@ -1278,9 +1278,9 @@ struct task_struct { | |||
1278 | union rcu_special rcu_read_unlock_special; | 1278 | union rcu_special rcu_read_unlock_special; |
1279 | struct list_head rcu_node_entry; | 1279 | struct list_head rcu_node_entry; |
1280 | #endif /* #ifdef CONFIG_PREEMPT_RCU */ | 1280 | #endif /* #ifdef CONFIG_PREEMPT_RCU */ |
1281 | #ifdef CONFIG_TREE_PREEMPT_RCU | 1281 | #ifdef CONFIG_PREEMPT_RCU |
1282 | struct rcu_node *rcu_blocked_node; | 1282 | struct rcu_node *rcu_blocked_node; |
1283 | #endif /* #ifdef CONFIG_TREE_PREEMPT_RCU */ | 1283 | #endif /* #ifdef CONFIG_PREEMPT_RCU */ |
1284 | #ifdef CONFIG_TASKS_RCU | 1284 | #ifdef CONFIG_TASKS_RCU |
1285 | unsigned long rcu_tasks_nvcsw; | 1285 | unsigned long rcu_tasks_nvcsw; |
1286 | bool rcu_tasks_holdout; | 1286 | bool rcu_tasks_holdout; |
diff --git a/include/trace/events/rcu.h b/include/trace/events/rcu.h index e335e7d8c6c2..c78e88ce5ea3 100644 --- a/include/trace/events/rcu.h +++ b/include/trace/events/rcu.h | |||
@@ -36,7 +36,7 @@ TRACE_EVENT(rcu_utilization, | |||
36 | 36 | ||
37 | #ifdef CONFIG_RCU_TRACE | 37 | #ifdef CONFIG_RCU_TRACE |
38 | 38 | ||
39 | #if defined(CONFIG_TREE_RCU) || defined(CONFIG_TREE_PREEMPT_RCU) | 39 | #if defined(CONFIG_TREE_RCU) || defined(CONFIG_PREEMPT_RCU) |
40 | 40 | ||
41 | /* | 41 | /* |
42 | * Tracepoint for grace-period events. Takes a string identifying the | 42 | * Tracepoint for grace-period events. Takes a string identifying the |
@@ -345,7 +345,7 @@ TRACE_EVENT(rcu_fqs, | |||
345 | __entry->cpu, __entry->qsevent) | 345 | __entry->cpu, __entry->qsevent) |
346 | ); | 346 | ); |
347 | 347 | ||
348 | #endif /* #if defined(CONFIG_TREE_RCU) || defined(CONFIG_TREE_PREEMPT_RCU) */ | 348 | #endif /* #if defined(CONFIG_TREE_RCU) || defined(CONFIG_PREEMPT_RCU) */ |
349 | 349 | ||
350 | /* | 350 | /* |
351 | * Tracepoint for dyntick-idle entry/exit events. These take a string | 351 | * Tracepoint for dyntick-idle entry/exit events. These take a string |
diff --git a/init/Kconfig b/init/Kconfig index 15c299cc7c1e..5ac596e2cb4b 100644 --- a/init/Kconfig +++ b/init/Kconfig | |||
@@ -477,7 +477,7 @@ config TREE_RCU | |||
477 | thousands of CPUs. It also scales down nicely to | 477 | thousands of CPUs. It also scales down nicely to |
478 | smaller systems. | 478 | smaller systems. |
479 | 479 | ||
480 | config TREE_PREEMPT_RCU | 480 | config PREEMPT_RCU |
481 | bool "Preemptible tree-based hierarchical RCU" | 481 | bool "Preemptible tree-based hierarchical RCU" |
482 | depends on PREEMPT | 482 | depends on PREEMPT |
483 | select IRQ_WORK | 483 | select IRQ_WORK |
@@ -501,12 +501,6 @@ config TINY_RCU | |||
501 | 501 | ||
502 | endchoice | 502 | endchoice |
503 | 503 | ||
504 | config PREEMPT_RCU | ||
505 | def_bool TREE_PREEMPT_RCU | ||
506 | help | ||
507 | This option enables preemptible-RCU code that is common between | ||
508 | TREE_PREEMPT_RCU and, in the old days, TINY_PREEMPT_RCU. | ||
509 | |||
510 | config TASKS_RCU | 504 | config TASKS_RCU |
511 | bool "Task_based RCU implementation using voluntary context switch" | 505 | bool "Task_based RCU implementation using voluntary context switch" |
512 | default n | 506 | default n |
@@ -518,7 +512,7 @@ config TASKS_RCU | |||
518 | If unsure, say N. | 512 | If unsure, say N. |
519 | 513 | ||
520 | config RCU_STALL_COMMON | 514 | config RCU_STALL_COMMON |
521 | def_bool ( TREE_RCU || TREE_PREEMPT_RCU || RCU_TRACE ) | 515 | def_bool ( TREE_RCU || PREEMPT_RCU || RCU_TRACE ) |
522 | help | 516 | help |
523 | This option enables RCU CPU stall code that is common between | 517 | This option enables RCU CPU stall code that is common between |
524 | the TINY and TREE variants of RCU. The purpose is to allow | 518 | the TINY and TREE variants of RCU. The purpose is to allow |
@@ -576,7 +570,7 @@ config RCU_FANOUT | |||
576 | int "Tree-based hierarchical RCU fanout value" | 570 | int "Tree-based hierarchical RCU fanout value" |
577 | range 2 64 if 64BIT | 571 | range 2 64 if 64BIT |
578 | range 2 32 if !64BIT | 572 | range 2 32 if !64BIT |
579 | depends on TREE_RCU || TREE_PREEMPT_RCU | 573 | depends on TREE_RCU || PREEMPT_RCU |
580 | default 64 if 64BIT | 574 | default 64 if 64BIT |
581 | default 32 if !64BIT | 575 | default 32 if !64BIT |
582 | help | 576 | help |
@@ -596,7 +590,7 @@ config RCU_FANOUT_LEAF | |||
596 | int "Tree-based hierarchical RCU leaf-level fanout value" | 590 | int "Tree-based hierarchical RCU leaf-level fanout value" |
597 | range 2 RCU_FANOUT if 64BIT | 591 | range 2 RCU_FANOUT if 64BIT |
598 | range 2 RCU_FANOUT if !64BIT | 592 | range 2 RCU_FANOUT if !64BIT |
599 | depends on TREE_RCU || TREE_PREEMPT_RCU | 593 | depends on TREE_RCU || PREEMPT_RCU |
600 | default 16 | 594 | default 16 |
601 | help | 595 | help |
602 | This option controls the leaf-level fanout of hierarchical | 596 | This option controls the leaf-level fanout of hierarchical |
@@ -621,7 +615,7 @@ config RCU_FANOUT_LEAF | |||
621 | 615 | ||
622 | config RCU_FANOUT_EXACT | 616 | config RCU_FANOUT_EXACT |
623 | bool "Disable tree-based hierarchical RCU auto-balancing" | 617 | bool "Disable tree-based hierarchical RCU auto-balancing" |
624 | depends on TREE_RCU || TREE_PREEMPT_RCU | 618 | depends on TREE_RCU || PREEMPT_RCU |
625 | default n | 619 | default n |
626 | help | 620 | help |
627 | This option forces use of the exact RCU_FANOUT value specified, | 621 | This option forces use of the exact RCU_FANOUT value specified, |
@@ -652,11 +646,11 @@ config RCU_FAST_NO_HZ | |||
652 | Say N if you are unsure. | 646 | Say N if you are unsure. |
653 | 647 | ||
654 | config TREE_RCU_TRACE | 648 | config TREE_RCU_TRACE |
655 | def_bool RCU_TRACE && ( TREE_RCU || TREE_PREEMPT_RCU ) | 649 | def_bool RCU_TRACE && ( TREE_RCU || PREEMPT_RCU ) |
656 | select DEBUG_FS | 650 | select DEBUG_FS |
657 | help | 651 | help |
658 | This option provides tracing for the TREE_RCU and | 652 | This option provides tracing for the TREE_RCU and |
659 | TREE_PREEMPT_RCU implementations, permitting Makefile to | 653 | PREEMPT_RCU implementations, permitting Makefile to |
660 | trivially select kernel/rcutree_trace.c. | 654 | trivially select kernel/rcutree_trace.c. |
661 | 655 | ||
662 | config RCU_BOOST | 656 | config RCU_BOOST |
@@ -716,7 +710,7 @@ config RCU_BOOST_DELAY | |||
716 | 710 | ||
717 | config RCU_NOCB_CPU | 711 | config RCU_NOCB_CPU |
718 | bool "Offload RCU callback processing from boot-selected CPUs" | 712 | bool "Offload RCU callback processing from boot-selected CPUs" |
719 | depends on TREE_RCU || TREE_PREEMPT_RCU | 713 | depends on TREE_RCU || PREEMPT_RCU |
720 | default n | 714 | default n |
721 | help | 715 | help |
722 | Use this option to reduce OS jitter for aggressive HPC or | 716 | Use this option to reduce OS jitter for aggressive HPC or |
diff --git a/kernel/rcu/Makefile b/kernel/rcu/Makefile index 807ccfbf69b3..e6fae503d1bc 100644 --- a/kernel/rcu/Makefile +++ b/kernel/rcu/Makefile | |||
@@ -1,6 +1,6 @@ | |||
1 | obj-y += update.o srcu.o | 1 | obj-y += update.o srcu.o |
2 | obj-$(CONFIG_RCU_TORTURE_TEST) += rcutorture.o | 2 | obj-$(CONFIG_RCU_TORTURE_TEST) += rcutorture.o |
3 | obj-$(CONFIG_TREE_RCU) += tree.o | 3 | obj-$(CONFIG_TREE_RCU) += tree.o |
4 | obj-$(CONFIG_TREE_PREEMPT_RCU) += tree.o | 4 | obj-$(CONFIG_PREEMPT_RCU) += tree.o |
5 | obj-$(CONFIG_TREE_RCU_TRACE) += tree_trace.o | 5 | obj-$(CONFIG_TREE_RCU_TRACE) += tree_trace.o |
6 | obj-$(CONFIG_TINY_RCU) += tiny.o | 6 | obj-$(CONFIG_TINY_RCU) += tiny.o |
diff --git a/kernel/rcu/tree.h b/kernel/rcu/tree.h index bbdc45d8d74f..66cde5109c7d 100644 --- a/kernel/rcu/tree.h +++ b/kernel/rcu/tree.h | |||
@@ -139,7 +139,7 @@ struct rcu_node { | |||
139 | unsigned long expmask; /* Groups that have ->blkd_tasks */ | 139 | unsigned long expmask; /* Groups that have ->blkd_tasks */ |
140 | /* elements that need to drain to allow the */ | 140 | /* elements that need to drain to allow the */ |
141 | /* current expedited grace period to */ | 141 | /* current expedited grace period to */ |
142 | /* complete (only for TREE_PREEMPT_RCU). */ | 142 | /* complete (only for PREEMPT_RCU). */ |
143 | unsigned long qsmaskinit; | 143 | unsigned long qsmaskinit; |
144 | /* Per-GP initial value for qsmask & expmask. */ | 144 | /* Per-GP initial value for qsmask & expmask. */ |
145 | unsigned long grpmask; /* Mask to apply to parent qsmask. */ | 145 | unsigned long grpmask; /* Mask to apply to parent qsmask. */ |
@@ -530,10 +530,10 @@ DECLARE_PER_CPU(struct rcu_data, rcu_sched_data); | |||
530 | extern struct rcu_state rcu_bh_state; | 530 | extern struct rcu_state rcu_bh_state; |
531 | DECLARE_PER_CPU(struct rcu_data, rcu_bh_data); | 531 | DECLARE_PER_CPU(struct rcu_data, rcu_bh_data); |
532 | 532 | ||
533 | #ifdef CONFIG_TREE_PREEMPT_RCU | 533 | #ifdef CONFIG_PREEMPT_RCU |
534 | extern struct rcu_state rcu_preempt_state; | 534 | extern struct rcu_state rcu_preempt_state; |
535 | DECLARE_PER_CPU(struct rcu_data, rcu_preempt_data); | 535 | DECLARE_PER_CPU(struct rcu_data, rcu_preempt_data); |
536 | #endif /* #ifdef CONFIG_TREE_PREEMPT_RCU */ | 536 | #endif /* #ifdef CONFIG_PREEMPT_RCU */ |
537 | 537 | ||
538 | #ifdef CONFIG_RCU_BOOST | 538 | #ifdef CONFIG_RCU_BOOST |
539 | DECLARE_PER_CPU(unsigned int, rcu_cpu_kthread_status); | 539 | DECLARE_PER_CPU(unsigned int, rcu_cpu_kthread_status); |
@@ -563,10 +563,10 @@ static int rcu_preempt_offline_tasks(struct rcu_state *rsp, | |||
563 | #endif /* #ifdef CONFIG_HOTPLUG_CPU */ | 563 | #endif /* #ifdef CONFIG_HOTPLUG_CPU */ |
564 | static void rcu_preempt_check_callbacks(int cpu); | 564 | static void rcu_preempt_check_callbacks(int cpu); |
565 | void call_rcu(struct rcu_head *head, void (*func)(struct rcu_head *rcu)); | 565 | void call_rcu(struct rcu_head *head, void (*func)(struct rcu_head *rcu)); |
566 | #if defined(CONFIG_HOTPLUG_CPU) || defined(CONFIG_TREE_PREEMPT_RCU) | 566 | #if defined(CONFIG_HOTPLUG_CPU) || defined(CONFIG_PREEMPT_RCU) |
567 | static void rcu_report_exp_rnp(struct rcu_state *rsp, struct rcu_node *rnp, | 567 | static void rcu_report_exp_rnp(struct rcu_state *rsp, struct rcu_node *rnp, |
568 | bool wake); | 568 | bool wake); |
569 | #endif /* #if defined(CONFIG_HOTPLUG_CPU) || defined(CONFIG_TREE_PREEMPT_RCU) */ | 569 | #endif /* #if defined(CONFIG_HOTPLUG_CPU) || defined(CONFIG_PREEMPT_RCU) */ |
570 | static void __init __rcu_init_preempt(void); | 570 | static void __init __rcu_init_preempt(void); |
571 | static void rcu_initiate_boost(struct rcu_node *rnp, unsigned long flags); | 571 | static void rcu_initiate_boost(struct rcu_node *rnp, unsigned long flags); |
572 | static void rcu_preempt_boost_start_gp(struct rcu_node *rnp); | 572 | static void rcu_preempt_boost_start_gp(struct rcu_node *rnp); |
diff --git a/kernel/rcu/tree_plugin.h b/kernel/rcu/tree_plugin.h index 344f0e661515..6d07fb402e84 100644 --- a/kernel/rcu/tree_plugin.h +++ b/kernel/rcu/tree_plugin.h | |||
@@ -100,7 +100,7 @@ static void __init rcu_bootup_announce_oddness(void) | |||
100 | #endif | 100 | #endif |
101 | } | 101 | } |
102 | 102 | ||
103 | #ifdef CONFIG_TREE_PREEMPT_RCU | 103 | #ifdef CONFIG_PREEMPT_RCU |
104 | 104 | ||
105 | RCU_STATE_INITIALIZER(rcu_preempt, 'p', call_rcu); | 105 | RCU_STATE_INITIALIZER(rcu_preempt, 'p', call_rcu); |
106 | static struct rcu_state *rcu_state_p = &rcu_preempt_state; | 106 | static struct rcu_state *rcu_state_p = &rcu_preempt_state; |
@@ -932,7 +932,7 @@ void exit_rcu(void) | |||
932 | __rcu_read_unlock(); | 932 | __rcu_read_unlock(); |
933 | } | 933 | } |
934 | 934 | ||
935 | #else /* #ifdef CONFIG_TREE_PREEMPT_RCU */ | 935 | #else /* #ifdef CONFIG_PREEMPT_RCU */ |
936 | 936 | ||
937 | static struct rcu_state *rcu_state_p = &rcu_sched_state; | 937 | static struct rcu_state *rcu_state_p = &rcu_sched_state; |
938 | 938 | ||
@@ -1083,7 +1083,7 @@ void exit_rcu(void) | |||
1083 | { | 1083 | { |
1084 | } | 1084 | } |
1085 | 1085 | ||
1086 | #endif /* #else #ifdef CONFIG_TREE_PREEMPT_RCU */ | 1086 | #endif /* #else #ifdef CONFIG_PREEMPT_RCU */ |
1087 | 1087 | ||
1088 | #ifdef CONFIG_RCU_BOOST | 1088 | #ifdef CONFIG_RCU_BOOST |
1089 | 1089 | ||
diff --git a/kernel/rcu/update.c b/kernel/rcu/update.c index 3ef8ba58694e..27a5b174b2a4 100644 --- a/kernel/rcu/update.c +++ b/kernel/rcu/update.c | |||
@@ -306,7 +306,7 @@ struct debug_obj_descr rcuhead_debug_descr = { | |||
306 | EXPORT_SYMBOL_GPL(rcuhead_debug_descr); | 306 | EXPORT_SYMBOL_GPL(rcuhead_debug_descr); |
307 | #endif /* #ifdef CONFIG_DEBUG_OBJECTS_RCU_HEAD */ | 307 | #endif /* #ifdef CONFIG_DEBUG_OBJECTS_RCU_HEAD */ |
308 | 308 | ||
309 | #if defined(CONFIG_TREE_RCU) || defined(CONFIG_TREE_PREEMPT_RCU) || defined(CONFIG_RCU_TRACE) | 309 | #if defined(CONFIG_TREE_RCU) || defined(CONFIG_PREEMPT_RCU) || defined(CONFIG_RCU_TRACE) |
310 | void do_trace_rcu_torture_read(const char *rcutorturename, struct rcu_head *rhp, | 310 | void do_trace_rcu_torture_read(const char *rcutorturename, struct rcu_head *rhp, |
311 | unsigned long secs, | 311 | unsigned long secs, |
312 | unsigned long c_old, unsigned long c) | 312 | unsigned long c_old, unsigned long c) |
diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug index 4e35a5d767ed..12e7b020539f 100644 --- a/lib/Kconfig.debug +++ b/lib/Kconfig.debug | |||
@@ -1252,7 +1252,7 @@ config RCU_CPU_STALL_VERBOSE | |||
1252 | 1252 | ||
1253 | config RCU_CPU_STALL_INFO | 1253 | config RCU_CPU_STALL_INFO |
1254 | bool "Print additional diagnostics on RCU CPU stall" | 1254 | bool "Print additional diagnostics on RCU CPU stall" |
1255 | depends on (TREE_RCU || TREE_PREEMPT_RCU) && DEBUG_KERNEL | 1255 | depends on (TREE_RCU || PREEMPT_RCU) && DEBUG_KERNEL |
1256 | default n | 1256 | default n |
1257 | help | 1257 | help |
1258 | For each stalled CPU that is aware of the current RCU grace | 1258 | For each stalled CPU that is aware of the current RCU grace |
diff --git a/tools/testing/selftests/rcutorture/configs/rcu/TREE01 b/tools/testing/selftests/rcutorture/configs/rcu/TREE01 index 38e3895759dd..69f8e5878a58 100644 --- a/tools/testing/selftests/rcutorture/configs/rcu/TREE01 +++ b/tools/testing/selftests/rcutorture/configs/rcu/TREE01 | |||
@@ -2,7 +2,7 @@ CONFIG_SMP=y | |||
2 | CONFIG_PREEMPT_NONE=n | 2 | CONFIG_PREEMPT_NONE=n |
3 | CONFIG_PREEMPT_VOLUNTARY=n | 3 | CONFIG_PREEMPT_VOLUNTARY=n |
4 | CONFIG_PREEMPT=y | 4 | CONFIG_PREEMPT=y |
5 | #CHECK#CONFIG_TREE_PREEMPT_RCU=y | 5 | #CHECK#CONFIG_PREEMPT_RCU=y |
6 | CONFIG_HZ_PERIODIC=n | 6 | CONFIG_HZ_PERIODIC=n |
7 | CONFIG_NO_HZ_IDLE=y | 7 | CONFIG_NO_HZ_IDLE=y |
8 | CONFIG_NO_HZ_FULL=n | 8 | CONFIG_NO_HZ_FULL=n |
diff --git a/tools/testing/selftests/rcutorture/configs/rcu/TREE02 b/tools/testing/selftests/rcutorture/configs/rcu/TREE02 index ea119ba2f7d4..fc29c6297197 100644 --- a/tools/testing/selftests/rcutorture/configs/rcu/TREE02 +++ b/tools/testing/selftests/rcutorture/configs/rcu/TREE02 | |||
@@ -3,7 +3,7 @@ CONFIG_NR_CPUS=8 | |||
3 | CONFIG_PREEMPT_NONE=n | 3 | CONFIG_PREEMPT_NONE=n |
4 | CONFIG_PREEMPT_VOLUNTARY=n | 4 | CONFIG_PREEMPT_VOLUNTARY=n |
5 | CONFIG_PREEMPT=y | 5 | CONFIG_PREEMPT=y |
6 | #CHECK#CONFIG_TREE_PREEMPT_RCU=y | 6 | #CHECK#CONFIG_PREEMPT_RCU=y |
7 | CONFIG_HZ_PERIODIC=n | 7 | CONFIG_HZ_PERIODIC=n |
8 | CONFIG_NO_HZ_IDLE=y | 8 | CONFIG_NO_HZ_IDLE=y |
9 | CONFIG_NO_HZ_FULL=n | 9 | CONFIG_NO_HZ_FULL=n |
diff --git a/tools/testing/selftests/rcutorture/configs/rcu/TREE02-T b/tools/testing/selftests/rcutorture/configs/rcu/TREE02-T index 19cf9485f48a..778ec567a472 100644 --- a/tools/testing/selftests/rcutorture/configs/rcu/TREE02-T +++ b/tools/testing/selftests/rcutorture/configs/rcu/TREE02-T | |||
@@ -3,7 +3,7 @@ CONFIG_NR_CPUS=8 | |||
3 | CONFIG_PREEMPT_NONE=n | 3 | CONFIG_PREEMPT_NONE=n |
4 | CONFIG_PREEMPT_VOLUNTARY=n | 4 | CONFIG_PREEMPT_VOLUNTARY=n |
5 | CONFIG_PREEMPT=y | 5 | CONFIG_PREEMPT=y |
6 | #CHECK#CONFIG_TREE_PREEMPT_RCU=y | 6 | #CHECK#CONFIG_PREEMPT_RCU=y |
7 | CONFIG_HZ_PERIODIC=n | 7 | CONFIG_HZ_PERIODIC=n |
8 | CONFIG_NO_HZ_IDLE=y | 8 | CONFIG_NO_HZ_IDLE=y |
9 | CONFIG_NO_HZ_FULL=n | 9 | CONFIG_NO_HZ_FULL=n |
diff --git a/tools/testing/selftests/rcutorture/configs/rcu/TREE03 b/tools/testing/selftests/rcutorture/configs/rcu/TREE03 index b95f62efd6f2..a022f0332303 100644 --- a/tools/testing/selftests/rcutorture/configs/rcu/TREE03 +++ b/tools/testing/selftests/rcutorture/configs/rcu/TREE03 | |||
@@ -3,7 +3,7 @@ CONFIG_NR_CPUS=8 | |||
3 | CONFIG_PREEMPT_NONE=n | 3 | CONFIG_PREEMPT_NONE=n |
4 | CONFIG_PREEMPT_VOLUNTARY=n | 4 | CONFIG_PREEMPT_VOLUNTARY=n |
5 | CONFIG_PREEMPT=y | 5 | CONFIG_PREEMPT=y |
6 | #CHECK#CONFIG_TREE_PREEMPT_RCU=y | 6 | #CHECK#CONFIG_PREEMPT_RCU=y |
7 | CONFIG_HZ_PERIODIC=y | 7 | CONFIG_HZ_PERIODIC=y |
8 | CONFIG_NO_HZ_IDLE=n | 8 | CONFIG_NO_HZ_IDLE=n |
9 | CONFIG_NO_HZ_FULL=n | 9 | CONFIG_NO_HZ_FULL=n |
diff --git a/tools/testing/selftests/rcutorture/configs/rcu/TREE08 b/tools/testing/selftests/rcutorture/configs/rcu/TREE08 index 69a2e255bf98..6f8609d2d072 100644 --- a/tools/testing/selftests/rcutorture/configs/rcu/TREE08 +++ b/tools/testing/selftests/rcutorture/configs/rcu/TREE08 | |||
@@ -3,7 +3,7 @@ CONFIG_NR_CPUS=16 | |||
3 | CONFIG_PREEMPT_NONE=n | 3 | CONFIG_PREEMPT_NONE=n |
4 | CONFIG_PREEMPT_VOLUNTARY=n | 4 | CONFIG_PREEMPT_VOLUNTARY=n |
5 | CONFIG_PREEMPT=y | 5 | CONFIG_PREEMPT=y |
6 | #CHECK#CONFIG_TREE_PREEMPT_RCU=y | 6 | #CHECK#CONFIG_PREEMPT_RCU=y |
7 | CONFIG_HZ_PERIODIC=n | 7 | CONFIG_HZ_PERIODIC=n |
8 | CONFIG_NO_HZ_IDLE=y | 8 | CONFIG_NO_HZ_IDLE=y |
9 | CONFIG_NO_HZ_FULL=n | 9 | CONFIG_NO_HZ_FULL=n |
diff --git a/tools/testing/selftests/rcutorture/configs/rcu/TREE08-T b/tools/testing/selftests/rcutorture/configs/rcu/TREE08-T index a0f32fb8f17e..4e55bee2d3f8 100644 --- a/tools/testing/selftests/rcutorture/configs/rcu/TREE08-T +++ b/tools/testing/selftests/rcutorture/configs/rcu/TREE08-T | |||
@@ -3,7 +3,7 @@ CONFIG_NR_CPUS=16 | |||
3 | CONFIG_PREEMPT_NONE=n | 3 | CONFIG_PREEMPT_NONE=n |
4 | CONFIG_PREEMPT_VOLUNTARY=n | 4 | CONFIG_PREEMPT_VOLUNTARY=n |
5 | CONFIG_PREEMPT=y | 5 | CONFIG_PREEMPT=y |
6 | #CHECK#CONFIG_TREE_PREEMPT_RCU=y | 6 | #CHECK#CONFIG_PREEMPT_RCU=y |
7 | CONFIG_HZ_PERIODIC=n | 7 | CONFIG_HZ_PERIODIC=n |
8 | CONFIG_NO_HZ_IDLE=y | 8 | CONFIG_NO_HZ_IDLE=y |
9 | CONFIG_NO_HZ_FULL=n | 9 | CONFIG_NO_HZ_FULL=n |
diff --git a/tools/testing/selftests/rcutorture/configs/rcu/TREE09 b/tools/testing/selftests/rcutorture/configs/rcu/TREE09 index b7a62a540ad1..47e2ecd1844f 100644 --- a/tools/testing/selftests/rcutorture/configs/rcu/TREE09 +++ b/tools/testing/selftests/rcutorture/configs/rcu/TREE09 | |||
@@ -3,7 +3,7 @@ CONFIG_NR_CPUS=1 | |||
3 | CONFIG_PREEMPT_NONE=n | 3 | CONFIG_PREEMPT_NONE=n |
4 | CONFIG_PREEMPT_VOLUNTARY=n | 4 | CONFIG_PREEMPT_VOLUNTARY=n |
5 | CONFIG_PREEMPT=y | 5 | CONFIG_PREEMPT=y |
6 | #CHECK#CONFIG_TREE_PREEMPT_RCU=y | 6 | #CHECK#CONFIG_PREEMPT_RCU=y |
7 | CONFIG_HZ_PERIODIC=n | 7 | CONFIG_HZ_PERIODIC=n |
8 | CONFIG_NO_HZ_IDLE=y | 8 | CONFIG_NO_HZ_IDLE=y |
9 | CONFIG_NO_HZ_FULL=n | 9 | CONFIG_NO_HZ_FULL=n |
diff --git a/tools/testing/selftests/rcutorture/configs/rcu/v0.0/P1-S-T-NH-SD-SMP-HP b/tools/testing/selftests/rcutorture/configs/rcu/v0.0/P1-S-T-NH-SD-SMP-HP index f72402d7c13d..dd7bd4d2d85a 100644 --- a/tools/testing/selftests/rcutorture/configs/rcu/v0.0/P1-S-T-NH-SD-SMP-HP +++ b/tools/testing/selftests/rcutorture/configs/rcu/v0.0/P1-S-T-NH-SD-SMP-HP | |||
@@ -9,7 +9,7 @@ CONFIG_HOTPLUG_CPU=y | |||
9 | CONFIG_PREEMPT_NONE=n | 9 | CONFIG_PREEMPT_NONE=n |
10 | CONFIG_PREEMPT_VOLUNTARY=n | 10 | CONFIG_PREEMPT_VOLUNTARY=n |
11 | CONFIG_PREEMPT=y | 11 | CONFIG_PREEMPT=y |
12 | #CHECK#CONFIG_TREE_PREEMPT_RCU=y | 12 | #CHECK#CONFIG_PREEMPT_RCU=y |
13 | CONFIG_RCU_TORTURE_TEST=m | 13 | CONFIG_RCU_TORTURE_TEST=m |
14 | CONFIG_MODULE_UNLOAD=y | 14 | CONFIG_MODULE_UNLOAD=y |
15 | CONFIG_SYSFS_DEPRECATED_V2=y | 15 | CONFIG_SYSFS_DEPRECATED_V2=y |
diff --git a/tools/testing/selftests/rcutorture/configs/rcu/v0.0/P2-2-t-nh-sd-SMP-hp b/tools/testing/selftests/rcutorture/configs/rcu/v0.0/P2-2-t-nh-sd-SMP-hp index 0f3b667d2a9f..81d484362820 100644 --- a/tools/testing/selftests/rcutorture/configs/rcu/v0.0/P2-2-t-nh-sd-SMP-hp +++ b/tools/testing/selftests/rcutorture/configs/rcu/v0.0/P2-2-t-nh-sd-SMP-hp | |||
@@ -10,7 +10,7 @@ CONFIG_HIBERNATION=n | |||
10 | CONFIG_PREEMPT_NONE=n | 10 | CONFIG_PREEMPT_NONE=n |
11 | CONFIG_PREEMPT_VOLUNTARY=n | 11 | CONFIG_PREEMPT_VOLUNTARY=n |
12 | CONFIG_PREEMPT=y | 12 | CONFIG_PREEMPT=y |
13 | #CHECK#CONFIG_TREE_PREEMPT_RCU=y | 13 | #CHECK#CONFIG_PREEMPT_RCU=y |
14 | CONFIG_RCU_TORTURE_TEST=m | 14 | CONFIG_RCU_TORTURE_TEST=m |
15 | CONFIG_MODULE_UNLOAD=y | 15 | CONFIG_MODULE_UNLOAD=y |
16 | CONFIG_SYSFS_DEPRECATED_V2=y | 16 | CONFIG_SYSFS_DEPRECATED_V2=y |
diff --git a/tools/testing/selftests/rcutorture/configs/rcu/v0.0/P3-3-T-nh-SD-SMP-hp b/tools/testing/selftests/rcutorture/configs/rcu/v0.0/P3-3-T-nh-SD-SMP-hp index b035e141bf2a..16e22b7815c2 100644 --- a/tools/testing/selftests/rcutorture/configs/rcu/v0.0/P3-3-T-nh-SD-SMP-hp +++ b/tools/testing/selftests/rcutorture/configs/rcu/v0.0/P3-3-T-nh-SD-SMP-hp | |||
@@ -10,7 +10,7 @@ CONFIG_HIBERNATION=n | |||
10 | CONFIG_PREEMPT_NONE=n | 10 | CONFIG_PREEMPT_NONE=n |
11 | CONFIG_PREEMPT_VOLUNTARY=n | 11 | CONFIG_PREEMPT_VOLUNTARY=n |
12 | CONFIG_PREEMPT=y | 12 | CONFIG_PREEMPT=y |
13 | #CHECK#CONFIG_TREE_PREEMPT_RCU=y | 13 | #CHECK#CONFIG_PREEMPT_RCU=y |
14 | CONFIG_RCU_TORTURE_TEST=m | 14 | CONFIG_RCU_TORTURE_TEST=m |
15 | CONFIG_MODULE_UNLOAD=y | 15 | CONFIG_MODULE_UNLOAD=y |
16 | CONFIG_SYSFS_DEPRECATED_V2=y | 16 | CONFIG_SYSFS_DEPRECATED_V2=y |
diff --git a/tools/testing/selftests/rcutorture/configs/rcu/v0.0/P4-A-t-NH-sd-SMP-HP b/tools/testing/selftests/rcutorture/configs/rcu/v0.0/P4-A-t-NH-sd-SMP-HP index 3ccf6a9447f5..ea7ed3b9a2da 100644 --- a/tools/testing/selftests/rcutorture/configs/rcu/v0.0/P4-A-t-NH-sd-SMP-HP +++ b/tools/testing/selftests/rcutorture/configs/rcu/v0.0/P4-A-t-NH-sd-SMP-HP | |||
@@ -8,7 +8,7 @@ CONFIG_HOTPLUG_CPU=y | |||
8 | CONFIG_PREEMPT_NONE=n | 8 | CONFIG_PREEMPT_NONE=n |
9 | CONFIG_PREEMPT_VOLUNTARY=n | 9 | CONFIG_PREEMPT_VOLUNTARY=n |
10 | CONFIG_PREEMPT=y | 10 | CONFIG_PREEMPT=y |
11 | #CHECK#CONFIG_TREE_PREEMPT_RCU=y | 11 | #CHECK#CONFIG_PREEMPT_RCU=y |
12 | CONFIG_RCU_TORTURE_TEST=m | 12 | CONFIG_RCU_TORTURE_TEST=m |
13 | CONFIG_MODULE_UNLOAD=y | 13 | CONFIG_MODULE_UNLOAD=y |
14 | CONFIG_RT_MUTEXES=y | 14 | CONFIG_RT_MUTEXES=y |
diff --git a/tools/testing/selftests/rcutorture/configs/rcu/v0.0/P5-U-T-NH-sd-SMP-hp b/tools/testing/selftests/rcutorture/configs/rcu/v0.0/P5-U-T-NH-sd-SMP-hp index a55c00877fe4..24f4d5e40c80 100644 --- a/tools/testing/selftests/rcutorture/configs/rcu/v0.0/P5-U-T-NH-sd-SMP-hp +++ b/tools/testing/selftests/rcutorture/configs/rcu/v0.0/P5-U-T-NH-sd-SMP-hp | |||
@@ -11,7 +11,7 @@ CONFIG_HIBERNATION=n | |||
11 | CONFIG_PREEMPT_NONE=n | 11 | CONFIG_PREEMPT_NONE=n |
12 | CONFIG_PREEMPT_VOLUNTARY=n | 12 | CONFIG_PREEMPT_VOLUNTARY=n |
13 | CONFIG_PREEMPT=y | 13 | CONFIG_PREEMPT=y |
14 | #CHECK#CONFIG_TREE_PREEMPT_RCU=y | 14 | #CHECK#CONFIG_PREEMPT_RCU=y |
15 | CONFIG_DEBUG_KERNEL=y | 15 | CONFIG_DEBUG_KERNEL=y |
16 | CONFIG_DEBUG_OBJECTS=y | 16 | CONFIG_DEBUG_OBJECTS=y |
17 | CONFIG_DEBUG_OBJECTS_RCU_HEAD=y | 17 | CONFIG_DEBUG_OBJECTS_RCU_HEAD=y |
diff --git a/tools/testing/selftests/rcutorture/configs/rcu/v3.12/P1-S-T-NH-SD-SMP-HP b/tools/testing/selftests/rcutorture/configs/rcu/v3.12/P1-S-T-NH-SD-SMP-HP index 9647c44cf4b7..688066322c89 100644 --- a/tools/testing/selftests/rcutorture/configs/rcu/v3.12/P1-S-T-NH-SD-SMP-HP +++ b/tools/testing/selftests/rcutorture/configs/rcu/v3.12/P1-S-T-NH-SD-SMP-HP | |||
@@ -10,7 +10,7 @@ CONFIG_HOTPLUG_CPU=y | |||
10 | CONFIG_PREEMPT_NONE=n | 10 | CONFIG_PREEMPT_NONE=n |
11 | CONFIG_PREEMPT_VOLUNTARY=n | 11 | CONFIG_PREEMPT_VOLUNTARY=n |
12 | CONFIG_PREEMPT=y | 12 | CONFIG_PREEMPT=y |
13 | #CHECK#CONFIG_TREE_PREEMPT_RCU=y | 13 | #CHECK#CONFIG_PREEMPT_RCU=y |
14 | CONFIG_RCU_TORTURE_TEST=m | 14 | CONFIG_RCU_TORTURE_TEST=m |
15 | CONFIG_MODULE_UNLOAD=y | 15 | CONFIG_MODULE_UNLOAD=y |
16 | CONFIG_SYSFS_DEPRECATED_V2=y | 16 | CONFIG_SYSFS_DEPRECATED_V2=y |
diff --git a/tools/testing/selftests/rcutorture/configs/rcu/v3.12/P2-2-t-nh-sd-SMP-hp b/tools/testing/selftests/rcutorture/configs/rcu/v3.12/P2-2-t-nh-sd-SMP-hp index 0f3b667d2a9f..81d484362820 100644 --- a/tools/testing/selftests/rcutorture/configs/rcu/v3.12/P2-2-t-nh-sd-SMP-hp +++ b/tools/testing/selftests/rcutorture/configs/rcu/v3.12/P2-2-t-nh-sd-SMP-hp | |||
@@ -10,7 +10,7 @@ CONFIG_HIBERNATION=n | |||
10 | CONFIG_PREEMPT_NONE=n | 10 | CONFIG_PREEMPT_NONE=n |
11 | CONFIG_PREEMPT_VOLUNTARY=n | 11 | CONFIG_PREEMPT_VOLUNTARY=n |
12 | CONFIG_PREEMPT=y | 12 | CONFIG_PREEMPT=y |
13 | #CHECK#CONFIG_TREE_PREEMPT_RCU=y | 13 | #CHECK#CONFIG_PREEMPT_RCU=y |
14 | CONFIG_RCU_TORTURE_TEST=m | 14 | CONFIG_RCU_TORTURE_TEST=m |
15 | CONFIG_MODULE_UNLOAD=y | 15 | CONFIG_MODULE_UNLOAD=y |
16 | CONFIG_SYSFS_DEPRECATED_V2=y | 16 | CONFIG_SYSFS_DEPRECATED_V2=y |
diff --git a/tools/testing/selftests/rcutorture/configs/rcu/v3.12/P3-3-T-nh-SD-SMP-hp b/tools/testing/selftests/rcutorture/configs/rcu/v3.12/P3-3-T-nh-SD-SMP-hp index b035e141bf2a..16e22b7815c2 100644 --- a/tools/testing/selftests/rcutorture/configs/rcu/v3.12/P3-3-T-nh-SD-SMP-hp +++ b/tools/testing/selftests/rcutorture/configs/rcu/v3.12/P3-3-T-nh-SD-SMP-hp | |||
@@ -10,7 +10,7 @@ CONFIG_HIBERNATION=n | |||
10 | CONFIG_PREEMPT_NONE=n | 10 | CONFIG_PREEMPT_NONE=n |
11 | CONFIG_PREEMPT_VOLUNTARY=n | 11 | CONFIG_PREEMPT_VOLUNTARY=n |
12 | CONFIG_PREEMPT=y | 12 | CONFIG_PREEMPT=y |
13 | #CHECK#CONFIG_TREE_PREEMPT_RCU=y | 13 | #CHECK#CONFIG_PREEMPT_RCU=y |
14 | CONFIG_RCU_TORTURE_TEST=m | 14 | CONFIG_RCU_TORTURE_TEST=m |
15 | CONFIG_MODULE_UNLOAD=y | 15 | CONFIG_MODULE_UNLOAD=y |
16 | CONFIG_SYSFS_DEPRECATED_V2=y | 16 | CONFIG_SYSFS_DEPRECATED_V2=y |
diff --git a/tools/testing/selftests/rcutorture/configs/rcu/v3.12/P4-A-t-NH-sd-SMP-HP b/tools/testing/selftests/rcutorture/configs/rcu/v3.12/P4-A-t-NH-sd-SMP-HP index 3ccf6a9447f5..ea7ed3b9a2da 100644 --- a/tools/testing/selftests/rcutorture/configs/rcu/v3.12/P4-A-t-NH-sd-SMP-HP +++ b/tools/testing/selftests/rcutorture/configs/rcu/v3.12/P4-A-t-NH-sd-SMP-HP | |||
@@ -8,7 +8,7 @@ CONFIG_HOTPLUG_CPU=y | |||
8 | CONFIG_PREEMPT_NONE=n | 8 | CONFIG_PREEMPT_NONE=n |
9 | CONFIG_PREEMPT_VOLUNTARY=n | 9 | CONFIG_PREEMPT_VOLUNTARY=n |
10 | CONFIG_PREEMPT=y | 10 | CONFIG_PREEMPT=y |
11 | #CHECK#CONFIG_TREE_PREEMPT_RCU=y | 11 | #CHECK#CONFIG_PREEMPT_RCU=y |
12 | CONFIG_RCU_TORTURE_TEST=m | 12 | CONFIG_RCU_TORTURE_TEST=m |
13 | CONFIG_MODULE_UNLOAD=y | 13 | CONFIG_MODULE_UNLOAD=y |
14 | CONFIG_RT_MUTEXES=y | 14 | CONFIG_RT_MUTEXES=y |
diff --git a/tools/testing/selftests/rcutorture/configs/rcu/v3.12/P5-U-T-NH-sd-SMP-hp b/tools/testing/selftests/rcutorture/configs/rcu/v3.12/P5-U-T-NH-sd-SMP-hp index a55c00877fe4..24f4d5e40c80 100644 --- a/tools/testing/selftests/rcutorture/configs/rcu/v3.12/P5-U-T-NH-sd-SMP-hp +++ b/tools/testing/selftests/rcutorture/configs/rcu/v3.12/P5-U-T-NH-sd-SMP-hp | |||
@@ -11,7 +11,7 @@ CONFIG_HIBERNATION=n | |||
11 | CONFIG_PREEMPT_NONE=n | 11 | CONFIG_PREEMPT_NONE=n |
12 | CONFIG_PREEMPT_VOLUNTARY=n | 12 | CONFIG_PREEMPT_VOLUNTARY=n |
13 | CONFIG_PREEMPT=y | 13 | CONFIG_PREEMPT=y |
14 | #CHECK#CONFIG_TREE_PREEMPT_RCU=y | 14 | #CHECK#CONFIG_PREEMPT_RCU=y |
15 | CONFIG_DEBUG_KERNEL=y | 15 | CONFIG_DEBUG_KERNEL=y |
16 | CONFIG_DEBUG_OBJECTS=y | 16 | CONFIG_DEBUG_OBJECTS=y |
17 | CONFIG_DEBUG_OBJECTS_RCU_HEAD=y | 17 | CONFIG_DEBUG_OBJECTS_RCU_HEAD=y |
diff --git a/tools/testing/selftests/rcutorture/configs/rcu/v3.12/P6---t-nh-SD-smp-hp b/tools/testing/selftests/rcutorture/configs/rcu/v3.12/P6---t-nh-SD-smp-hp index f4c9175828bf..1be59e4c8ba7 100644 --- a/tools/testing/selftests/rcutorture/configs/rcu/v3.12/P6---t-nh-SD-smp-hp +++ b/tools/testing/selftests/rcutorture/configs/rcu/v3.12/P6---t-nh-SD-smp-hp | |||
@@ -8,7 +8,7 @@ CONFIG_HIBERNATION=n | |||
8 | CONFIG_PREEMPT_NONE=n | 8 | CONFIG_PREEMPT_NONE=n |
9 | CONFIG_PREEMPT_VOLUNTARY=n | 9 | CONFIG_PREEMPT_VOLUNTARY=n |
10 | CONFIG_PREEMPT=y | 10 | CONFIG_PREEMPT=y |
11 | CONFIG_TREE_PREEMPT_RCU=y | 11 | CONFIG_PREEMPT_RCU=y |
12 | CONFIG_RCU_TORTURE_TEST=m | 12 | CONFIG_RCU_TORTURE_TEST=m |
13 | CONFIG_MODULE_UNLOAD=y | 13 | CONFIG_MODULE_UNLOAD=y |
14 | CONFIG_SYSFS_DEPRECATED_V2=y | 14 | CONFIG_SYSFS_DEPRECATED_V2=y |
diff --git a/tools/testing/selftests/rcutorture/configs/rcu/v3.12/P7-4-T-NH-SD-SMP-HP b/tools/testing/selftests/rcutorture/configs/rcu/v3.12/P7-4-T-NH-SD-SMP-HP index 77a8c5b75763..b49ef7463099 100644 --- a/tools/testing/selftests/rcutorture/configs/rcu/v3.12/P7-4-T-NH-SD-SMP-HP +++ b/tools/testing/selftests/rcutorture/configs/rcu/v3.12/P7-4-T-NH-SD-SMP-HP | |||
@@ -14,7 +14,7 @@ CONFIG_HIBERNATION=n | |||
14 | CONFIG_PREEMPT_NONE=n | 14 | CONFIG_PREEMPT_NONE=n |
15 | CONFIG_PREEMPT_VOLUNTARY=n | 15 | CONFIG_PREEMPT_VOLUNTARY=n |
16 | CONFIG_PREEMPT=y | 16 | CONFIG_PREEMPT=y |
17 | #CHECK#CONFIG_TREE_PREEMPT_RCU=y | 17 | #CHECK#CONFIG_PREEMPT_RCU=y |
18 | CONFIG_RCU_TORTURE_TEST=m | 18 | CONFIG_RCU_TORTURE_TEST=m |
19 | CONFIG_MODULE_UNLOAD=y | 19 | CONFIG_MODULE_UNLOAD=y |
20 | CONFIG_PROVE_LOCKING=y | 20 | CONFIG_PROVE_LOCKING=y |
diff --git a/tools/testing/selftests/rcutorture/configs/rcu/v3.12/P7-4-T-NH-SD-SMP-HP-all b/tools/testing/selftests/rcutorture/configs/rcu/v3.12/P7-4-T-NH-SD-SMP-HP-all index 0eecebc6e95f..a55a6ac447d8 100644 --- a/tools/testing/selftests/rcutorture/configs/rcu/v3.12/P7-4-T-NH-SD-SMP-HP-all +++ b/tools/testing/selftests/rcutorture/configs/rcu/v3.12/P7-4-T-NH-SD-SMP-HP-all | |||
@@ -14,7 +14,7 @@ CONFIG_HIBERNATION=n | |||
14 | CONFIG_PREEMPT_NONE=n | 14 | CONFIG_PREEMPT_NONE=n |
15 | CONFIG_PREEMPT_VOLUNTARY=n | 15 | CONFIG_PREEMPT_VOLUNTARY=n |
16 | CONFIG_PREEMPT=y | 16 | CONFIG_PREEMPT=y |
17 | #CHECK#CONFIG_TREE_PREEMPT_RCU=y | 17 | #CHECK#CONFIG_PREEMPT_RCU=y |
18 | CONFIG_RCU_TORTURE_TEST=m | 18 | CONFIG_RCU_TORTURE_TEST=m |
19 | CONFIG_MODULE_UNLOAD=y | 19 | CONFIG_MODULE_UNLOAD=y |
20 | CONFIG_PROVE_LOCKING=y | 20 | CONFIG_PROVE_LOCKING=y |
diff --git a/tools/testing/selftests/rcutorture/configs/rcu/v3.12/P7-4-T-NH-SD-SMP-HP-none b/tools/testing/selftests/rcutorture/configs/rcu/v3.12/P7-4-T-NH-SD-SMP-HP-none index 0eecebc6e95f..a55a6ac447d8 100644 --- a/tools/testing/selftests/rcutorture/configs/rcu/v3.12/P7-4-T-NH-SD-SMP-HP-none +++ b/tools/testing/selftests/rcutorture/configs/rcu/v3.12/P7-4-T-NH-SD-SMP-HP-none | |||
@@ -14,7 +14,7 @@ CONFIG_HIBERNATION=n | |||
14 | CONFIG_PREEMPT_NONE=n | 14 | CONFIG_PREEMPT_NONE=n |
15 | CONFIG_PREEMPT_VOLUNTARY=n | 15 | CONFIG_PREEMPT_VOLUNTARY=n |
16 | CONFIG_PREEMPT=y | 16 | CONFIG_PREEMPT=y |
17 | #CHECK#CONFIG_TREE_PREEMPT_RCU=y | 17 | #CHECK#CONFIG_PREEMPT_RCU=y |
18 | CONFIG_RCU_TORTURE_TEST=m | 18 | CONFIG_RCU_TORTURE_TEST=m |
19 | CONFIG_MODULE_UNLOAD=y | 19 | CONFIG_MODULE_UNLOAD=y |
20 | CONFIG_PROVE_LOCKING=y | 20 | CONFIG_PROVE_LOCKING=y |
diff --git a/tools/testing/selftests/rcutorture/configs/rcu/v3.12/P7-4-T-NH-SD-SMP-hp b/tools/testing/selftests/rcutorture/configs/rcu/v3.12/P7-4-T-NH-SD-SMP-hp index 588bc70420cd..3134f46b2f87 100644 --- a/tools/testing/selftests/rcutorture/configs/rcu/v3.12/P7-4-T-NH-SD-SMP-hp +++ b/tools/testing/selftests/rcutorture/configs/rcu/v3.12/P7-4-T-NH-SD-SMP-hp | |||
@@ -14,7 +14,7 @@ CONFIG_HIBERNATION=n | |||
14 | CONFIG_PREEMPT_NONE=n | 14 | CONFIG_PREEMPT_NONE=n |
15 | CONFIG_PREEMPT_VOLUNTARY=n | 15 | CONFIG_PREEMPT_VOLUNTARY=n |
16 | CONFIG_PREEMPT=y | 16 | CONFIG_PREEMPT=y |
17 | #CHECK#CONFIG_TREE_PREEMPT_RCU=y | 17 | #CHECK#CONFIG_PREEMPT_RCU=y |
18 | CONFIG_RCU_TORTURE_TEST=m | 18 | CONFIG_RCU_TORTURE_TEST=m |
19 | CONFIG_MODULE_UNLOAD=y | 19 | CONFIG_MODULE_UNLOAD=y |
20 | CONFIG_PROVE_LOCKING=y | 20 | CONFIG_PROVE_LOCKING=y |
diff --git a/tools/testing/selftests/rcutorture/configs/rcu/v3.3/P1-S-T-NH-SD-SMP-HP b/tools/testing/selftests/rcutorture/configs/rcu/v3.3/P1-S-T-NH-SD-SMP-HP index 9647c44cf4b7..688066322c89 100644 --- a/tools/testing/selftests/rcutorture/configs/rcu/v3.3/P1-S-T-NH-SD-SMP-HP +++ b/tools/testing/selftests/rcutorture/configs/rcu/v3.3/P1-S-T-NH-SD-SMP-HP | |||
@@ -10,7 +10,7 @@ CONFIG_HOTPLUG_CPU=y | |||
10 | CONFIG_PREEMPT_NONE=n | 10 | CONFIG_PREEMPT_NONE=n |
11 | CONFIG_PREEMPT_VOLUNTARY=n | 11 | CONFIG_PREEMPT_VOLUNTARY=n |
12 | CONFIG_PREEMPT=y | 12 | CONFIG_PREEMPT=y |
13 | #CHECK#CONFIG_TREE_PREEMPT_RCU=y | 13 | #CHECK#CONFIG_PREEMPT_RCU=y |
14 | CONFIG_RCU_TORTURE_TEST=m | 14 | CONFIG_RCU_TORTURE_TEST=m |
15 | CONFIG_MODULE_UNLOAD=y | 15 | CONFIG_MODULE_UNLOAD=y |
16 | CONFIG_SYSFS_DEPRECATED_V2=y | 16 | CONFIG_SYSFS_DEPRECATED_V2=y |
diff --git a/tools/testing/selftests/rcutorture/configs/rcu/v3.3/P2-2-t-nh-sd-SMP-hp b/tools/testing/selftests/rcutorture/configs/rcu/v3.3/P2-2-t-nh-sd-SMP-hp index 0f3b667d2a9f..81d484362820 100644 --- a/tools/testing/selftests/rcutorture/configs/rcu/v3.3/P2-2-t-nh-sd-SMP-hp +++ b/tools/testing/selftests/rcutorture/configs/rcu/v3.3/P2-2-t-nh-sd-SMP-hp | |||
@@ -10,7 +10,7 @@ CONFIG_HIBERNATION=n | |||
10 | CONFIG_PREEMPT_NONE=n | 10 | CONFIG_PREEMPT_NONE=n |
11 | CONFIG_PREEMPT_VOLUNTARY=n | 11 | CONFIG_PREEMPT_VOLUNTARY=n |
12 | CONFIG_PREEMPT=y | 12 | CONFIG_PREEMPT=y |
13 | #CHECK#CONFIG_TREE_PREEMPT_RCU=y | 13 | #CHECK#CONFIG_PREEMPT_RCU=y |
14 | CONFIG_RCU_TORTURE_TEST=m | 14 | CONFIG_RCU_TORTURE_TEST=m |
15 | CONFIG_MODULE_UNLOAD=y | 15 | CONFIG_MODULE_UNLOAD=y |
16 | CONFIG_SYSFS_DEPRECATED_V2=y | 16 | CONFIG_SYSFS_DEPRECATED_V2=y |
diff --git a/tools/testing/selftests/rcutorture/configs/rcu/v3.3/P3-3-T-nh-SD-SMP-hp b/tools/testing/selftests/rcutorture/configs/rcu/v3.3/P3-3-T-nh-SD-SMP-hp index b035e141bf2a..16e22b7815c2 100644 --- a/tools/testing/selftests/rcutorture/configs/rcu/v3.3/P3-3-T-nh-SD-SMP-hp +++ b/tools/testing/selftests/rcutorture/configs/rcu/v3.3/P3-3-T-nh-SD-SMP-hp | |||
@@ -10,7 +10,7 @@ CONFIG_HIBERNATION=n | |||
10 | CONFIG_PREEMPT_NONE=n | 10 | CONFIG_PREEMPT_NONE=n |
11 | CONFIG_PREEMPT_VOLUNTARY=n | 11 | CONFIG_PREEMPT_VOLUNTARY=n |
12 | CONFIG_PREEMPT=y | 12 | CONFIG_PREEMPT=y |
13 | #CHECK#CONFIG_TREE_PREEMPT_RCU=y | 13 | #CHECK#CONFIG_PREEMPT_RCU=y |
14 | CONFIG_RCU_TORTURE_TEST=m | 14 | CONFIG_RCU_TORTURE_TEST=m |
15 | CONFIG_MODULE_UNLOAD=y | 15 | CONFIG_MODULE_UNLOAD=y |
16 | CONFIG_SYSFS_DEPRECATED_V2=y | 16 | CONFIG_SYSFS_DEPRECATED_V2=y |
diff --git a/tools/testing/selftests/rcutorture/configs/rcu/v3.3/P4-A-t-NH-sd-SMP-HP b/tools/testing/selftests/rcutorture/configs/rcu/v3.3/P4-A-t-NH-sd-SMP-HP index 3ccf6a9447f5..ea7ed3b9a2da 100644 --- a/tools/testing/selftests/rcutorture/configs/rcu/v3.3/P4-A-t-NH-sd-SMP-HP +++ b/tools/testing/selftests/rcutorture/configs/rcu/v3.3/P4-A-t-NH-sd-SMP-HP | |||
@@ -8,7 +8,7 @@ CONFIG_HOTPLUG_CPU=y | |||
8 | CONFIG_PREEMPT_NONE=n | 8 | CONFIG_PREEMPT_NONE=n |
9 | CONFIG_PREEMPT_VOLUNTARY=n | 9 | CONFIG_PREEMPT_VOLUNTARY=n |
10 | CONFIG_PREEMPT=y | 10 | CONFIG_PREEMPT=y |
11 | #CHECK#CONFIG_TREE_PREEMPT_RCU=y | 11 | #CHECK#CONFIG_PREEMPT_RCU=y |
12 | CONFIG_RCU_TORTURE_TEST=m | 12 | CONFIG_RCU_TORTURE_TEST=m |
13 | CONFIG_MODULE_UNLOAD=y | 13 | CONFIG_MODULE_UNLOAD=y |
14 | CONFIG_RT_MUTEXES=y | 14 | CONFIG_RT_MUTEXES=y |
diff --git a/tools/testing/selftests/rcutorture/configs/rcu/v3.3/P5-U-T-NH-sd-SMP-hp b/tools/testing/selftests/rcutorture/configs/rcu/v3.3/P5-U-T-NH-sd-SMP-hp index a55c00877fe4..24f4d5e40c80 100644 --- a/tools/testing/selftests/rcutorture/configs/rcu/v3.3/P5-U-T-NH-sd-SMP-hp +++ b/tools/testing/selftests/rcutorture/configs/rcu/v3.3/P5-U-T-NH-sd-SMP-hp | |||
@@ -11,7 +11,7 @@ CONFIG_HIBERNATION=n | |||
11 | CONFIG_PREEMPT_NONE=n | 11 | CONFIG_PREEMPT_NONE=n |
12 | CONFIG_PREEMPT_VOLUNTARY=n | 12 | CONFIG_PREEMPT_VOLUNTARY=n |
13 | CONFIG_PREEMPT=y | 13 | CONFIG_PREEMPT=y |
14 | #CHECK#CONFIG_TREE_PREEMPT_RCU=y | 14 | #CHECK#CONFIG_PREEMPT_RCU=y |
15 | CONFIG_DEBUG_KERNEL=y | 15 | CONFIG_DEBUG_KERNEL=y |
16 | CONFIG_DEBUG_OBJECTS=y | 16 | CONFIG_DEBUG_OBJECTS=y |
17 | CONFIG_DEBUG_OBJECTS_RCU_HEAD=y | 17 | CONFIG_DEBUG_OBJECTS_RCU_HEAD=y |
diff --git a/tools/testing/selftests/rcutorture/configs/rcu/v3.5/P1-S-T-NH-SD-SMP-HP b/tools/testing/selftests/rcutorture/configs/rcu/v3.5/P1-S-T-NH-SD-SMP-HP index 9647c44cf4b7..688066322c89 100644 --- a/tools/testing/selftests/rcutorture/configs/rcu/v3.5/P1-S-T-NH-SD-SMP-HP +++ b/tools/testing/selftests/rcutorture/configs/rcu/v3.5/P1-S-T-NH-SD-SMP-HP | |||
@@ -10,7 +10,7 @@ CONFIG_HOTPLUG_CPU=y | |||
10 | CONFIG_PREEMPT_NONE=n | 10 | CONFIG_PREEMPT_NONE=n |
11 | CONFIG_PREEMPT_VOLUNTARY=n | 11 | CONFIG_PREEMPT_VOLUNTARY=n |
12 | CONFIG_PREEMPT=y | 12 | CONFIG_PREEMPT=y |
13 | #CHECK#CONFIG_TREE_PREEMPT_RCU=y | 13 | #CHECK#CONFIG_PREEMPT_RCU=y |
14 | CONFIG_RCU_TORTURE_TEST=m | 14 | CONFIG_RCU_TORTURE_TEST=m |
15 | CONFIG_MODULE_UNLOAD=y | 15 | CONFIG_MODULE_UNLOAD=y |
16 | CONFIG_SYSFS_DEPRECATED_V2=y | 16 | CONFIG_SYSFS_DEPRECATED_V2=y |
diff --git a/tools/testing/selftests/rcutorture/configs/rcu/v3.5/P2-2-t-nh-sd-SMP-hp b/tools/testing/selftests/rcutorture/configs/rcu/v3.5/P2-2-t-nh-sd-SMP-hp index 0f3b667d2a9f..81d484362820 100644 --- a/tools/testing/selftests/rcutorture/configs/rcu/v3.5/P2-2-t-nh-sd-SMP-hp +++ b/tools/testing/selftests/rcutorture/configs/rcu/v3.5/P2-2-t-nh-sd-SMP-hp | |||
@@ -10,7 +10,7 @@ CONFIG_HIBERNATION=n | |||
10 | CONFIG_PREEMPT_NONE=n | 10 | CONFIG_PREEMPT_NONE=n |
11 | CONFIG_PREEMPT_VOLUNTARY=n | 11 | CONFIG_PREEMPT_VOLUNTARY=n |
12 | CONFIG_PREEMPT=y | 12 | CONFIG_PREEMPT=y |
13 | #CHECK#CONFIG_TREE_PREEMPT_RCU=y | 13 | #CHECK#CONFIG_PREEMPT_RCU=y |
14 | CONFIG_RCU_TORTURE_TEST=m | 14 | CONFIG_RCU_TORTURE_TEST=m |
15 | CONFIG_MODULE_UNLOAD=y | 15 | CONFIG_MODULE_UNLOAD=y |
16 | CONFIG_SYSFS_DEPRECATED_V2=y | 16 | CONFIG_SYSFS_DEPRECATED_V2=y |
diff --git a/tools/testing/selftests/rcutorture/configs/rcu/v3.5/P3-3-T-nh-SD-SMP-hp b/tools/testing/selftests/rcutorture/configs/rcu/v3.5/P3-3-T-nh-SD-SMP-hp index b035e141bf2a..16e22b7815c2 100644 --- a/tools/testing/selftests/rcutorture/configs/rcu/v3.5/P3-3-T-nh-SD-SMP-hp +++ b/tools/testing/selftests/rcutorture/configs/rcu/v3.5/P3-3-T-nh-SD-SMP-hp | |||
@@ -10,7 +10,7 @@ CONFIG_HIBERNATION=n | |||
10 | CONFIG_PREEMPT_NONE=n | 10 | CONFIG_PREEMPT_NONE=n |
11 | CONFIG_PREEMPT_VOLUNTARY=n | 11 | CONFIG_PREEMPT_VOLUNTARY=n |
12 | CONFIG_PREEMPT=y | 12 | CONFIG_PREEMPT=y |
13 | #CHECK#CONFIG_TREE_PREEMPT_RCU=y | 13 | #CHECK#CONFIG_PREEMPT_RCU=y |
14 | CONFIG_RCU_TORTURE_TEST=m | 14 | CONFIG_RCU_TORTURE_TEST=m |
15 | CONFIG_MODULE_UNLOAD=y | 15 | CONFIG_MODULE_UNLOAD=y |
16 | CONFIG_SYSFS_DEPRECATED_V2=y | 16 | CONFIG_SYSFS_DEPRECATED_V2=y |
diff --git a/tools/testing/selftests/rcutorture/configs/rcu/v3.5/P4-A-t-NH-sd-SMP-HP b/tools/testing/selftests/rcutorture/configs/rcu/v3.5/P4-A-t-NH-sd-SMP-HP index 3ccf6a9447f5..ea7ed3b9a2da 100644 --- a/tools/testing/selftests/rcutorture/configs/rcu/v3.5/P4-A-t-NH-sd-SMP-HP +++ b/tools/testing/selftests/rcutorture/configs/rcu/v3.5/P4-A-t-NH-sd-SMP-HP | |||
@@ -8,7 +8,7 @@ CONFIG_HOTPLUG_CPU=y | |||
8 | CONFIG_PREEMPT_NONE=n | 8 | CONFIG_PREEMPT_NONE=n |
9 | CONFIG_PREEMPT_VOLUNTARY=n | 9 | CONFIG_PREEMPT_VOLUNTARY=n |
10 | CONFIG_PREEMPT=y | 10 | CONFIG_PREEMPT=y |
11 | #CHECK#CONFIG_TREE_PREEMPT_RCU=y | 11 | #CHECK#CONFIG_PREEMPT_RCU=y |
12 | CONFIG_RCU_TORTURE_TEST=m | 12 | CONFIG_RCU_TORTURE_TEST=m |
13 | CONFIG_MODULE_UNLOAD=y | 13 | CONFIG_MODULE_UNLOAD=y |
14 | CONFIG_RT_MUTEXES=y | 14 | CONFIG_RT_MUTEXES=y |
diff --git a/tools/testing/selftests/rcutorture/configs/rcu/v3.5/P5-U-T-NH-sd-SMP-hp b/tools/testing/selftests/rcutorture/configs/rcu/v3.5/P5-U-T-NH-sd-SMP-hp index a55c00877fe4..24f4d5e40c80 100644 --- a/tools/testing/selftests/rcutorture/configs/rcu/v3.5/P5-U-T-NH-sd-SMP-hp +++ b/tools/testing/selftests/rcutorture/configs/rcu/v3.5/P5-U-T-NH-sd-SMP-hp | |||
@@ -11,7 +11,7 @@ CONFIG_HIBERNATION=n | |||
11 | CONFIG_PREEMPT_NONE=n | 11 | CONFIG_PREEMPT_NONE=n |
12 | CONFIG_PREEMPT_VOLUNTARY=n | 12 | CONFIG_PREEMPT_VOLUNTARY=n |
13 | CONFIG_PREEMPT=y | 13 | CONFIG_PREEMPT=y |
14 | #CHECK#CONFIG_TREE_PREEMPT_RCU=y | 14 | #CHECK#CONFIG_PREEMPT_RCU=y |
15 | CONFIG_DEBUG_KERNEL=y | 15 | CONFIG_DEBUG_KERNEL=y |
16 | CONFIG_DEBUG_OBJECTS=y | 16 | CONFIG_DEBUG_OBJECTS=y |
17 | CONFIG_DEBUG_OBJECTS_RCU_HEAD=y | 17 | CONFIG_DEBUG_OBJECTS_RCU_HEAD=y |
diff --git a/tools/testing/selftests/rcutorture/doc/TINY_RCU.txt b/tools/testing/selftests/rcutorture/doc/TINY_RCU.txt index 28db67b54e55..9ef33a743b73 100644 --- a/tools/testing/selftests/rcutorture/doc/TINY_RCU.txt +++ b/tools/testing/selftests/rcutorture/doc/TINY_RCU.txt | |||
@@ -34,7 +34,7 @@ CONFIG_PREEMPT | |||
34 | CONFIG_PREEMPT_RCU | 34 | CONFIG_PREEMPT_RCU |
35 | CONFIG_SMP | 35 | CONFIG_SMP |
36 | CONFIG_TINY_RCU | 36 | CONFIG_TINY_RCU |
37 | CONFIG_TREE_PREEMPT_RCU | 37 | CONFIG_PREEMPT_RCU |
38 | CONFIG_TREE_RCU | 38 | CONFIG_TREE_RCU |
39 | 39 | ||
40 | All forced by CONFIG_TINY_RCU. | 40 | All forced by CONFIG_TINY_RCU. |
diff --git a/tools/testing/selftests/rcutorture/doc/TREE_RCU-kconfig.txt b/tools/testing/selftests/rcutorture/doc/TREE_RCU-kconfig.txt index ab6e7b4103ac..f613755a90bd 100644 --- a/tools/testing/selftests/rcutorture/doc/TREE_RCU-kconfig.txt +++ b/tools/testing/selftests/rcutorture/doc/TREE_RCU-kconfig.txt | |||
@@ -1,5 +1,5 @@ | |||
1 | This document gives a brief rationale for the TREE_RCU-related test | 1 | This document gives a brief rationale for the TREE_RCU-related test |
2 | cases, a group that includes TREE_PREEMPT_RCU. | 2 | cases, a group that includes PREEMPT_RCU. |
3 | 3 | ||
4 | 4 | ||
5 | Kconfig Parameters: | 5 | Kconfig Parameters: |
@@ -14,7 +14,7 @@ CONFIG_NO_HZ_FULL_SYSIDLE -- Do one. | |||
14 | CONFIG_PREEMPT -- Do half. (First three and #8.) | 14 | CONFIG_PREEMPT -- Do half. (First three and #8.) |
15 | CONFIG_PROVE_LOCKING -- Do all but two, covering CONFIG_PROVE_RCU and not. | 15 | CONFIG_PROVE_LOCKING -- Do all but two, covering CONFIG_PROVE_RCU and not. |
16 | CONFIG_PROVE_RCU -- Do all but one under CONFIG_PROVE_LOCKING. | 16 | CONFIG_PROVE_RCU -- Do all but one under CONFIG_PROVE_LOCKING. |
17 | CONFIG_RCU_BOOST -- one of TREE_PREEMPT_RCU. | 17 | CONFIG_RCU_BOOST -- one of PREEMPT_RCU. |
18 | CONFIG_RCU_KTHREAD_PRIO -- set to 2 for _BOOST testing. | 18 | CONFIG_RCU_KTHREAD_PRIO -- set to 2 for _BOOST testing. |
19 | CONFIG_RCU_CPU_STALL_INFO -- Do one. | 19 | CONFIG_RCU_CPU_STALL_INFO -- Do one. |
20 | CONFIG_RCU_CPU_STALL_VERBOSE -- do one with and without _INFO. | 20 | CONFIG_RCU_CPU_STALL_VERBOSE -- do one with and without _INFO. |
@@ -27,7 +27,7 @@ CONFIG_RCU_NOCB_CPU_ALL -- Do one. | |||
27 | CONFIG_RCU_NOCB_CPU_NONE -- Do one. | 27 | CONFIG_RCU_NOCB_CPU_NONE -- Do one. |
28 | CONFIG_RCU_NOCB_CPU_ZERO -- Do one. | 28 | CONFIG_RCU_NOCB_CPU_ZERO -- Do one. |
29 | CONFIG_RCU_TRACE -- Do half. | 29 | CONFIG_RCU_TRACE -- Do half. |
30 | CONFIG_SMP -- Need one !SMP for TREE_PREEMPT_RCU. | 30 | CONFIG_SMP -- Need one !SMP for PREEMPT_RCU. |
31 | RCU-bh: Do one with PREEMPT and one with !PREEMPT. | 31 | RCU-bh: Do one with PREEMPT and one with !PREEMPT. |
32 | RCU-sched: Do one with PREEMPT but not BOOST. | 32 | RCU-sched: Do one with PREEMPT but not BOOST. |
33 | 33 | ||
@@ -77,7 +77,7 @@ CONFIG_RCU_CPU_STALL_TIMEOUT | |||
77 | 77 | ||
78 | CONFIG_RCU_STALL_COMMON | 78 | CONFIG_RCU_STALL_COMMON |
79 | 79 | ||
80 | Implied by TREE_RCU and TREE_PREEMPT_RCU. | 80 | Implied by TREE_RCU and PREEMPT_RCU. |
81 | 81 | ||
82 | CONFIG_RCU_TORTURE_TEST | 82 | CONFIG_RCU_TORTURE_TEST |
83 | CONFIG_RCU_TORTURE_TEST_RUNNABLE | 83 | CONFIG_RCU_TORTURE_TEST_RUNNABLE |
@@ -88,7 +88,7 @@ CONFIG_RCU_USER_QS | |||
88 | 88 | ||
89 | Redundant with CONFIG_NO_HZ_FULL. | 89 | Redundant with CONFIG_NO_HZ_FULL. |
90 | 90 | ||
91 | CONFIG_TREE_PREEMPT_RCU | 91 | CONFIG_PREEMPT_RCU |
92 | CONFIG_TREE_RCU | 92 | CONFIG_TREE_RCU |
93 | 93 | ||
94 | These are controlled by CONFIG_PREEMPT. | 94 | These are controlled by CONFIG_PREEMPT. |