diff options
Diffstat (limited to 'init')
| -rw-r--r-- | init/Kconfig | 18 |
1 files changed, 13 insertions, 5 deletions
diff --git a/init/Kconfig b/init/Kconfig index 9afb971497f4..1354ac09b516 100644 --- a/init/Kconfig +++ b/init/Kconfig | |||
| @@ -470,7 +470,6 @@ choice | |||
| 470 | config TREE_RCU | 470 | config TREE_RCU |
| 471 | bool "Tree-based hierarchical RCU" | 471 | bool "Tree-based hierarchical RCU" |
| 472 | depends on !PREEMPT && SMP | 472 | depends on !PREEMPT && SMP |
| 473 | select IRQ_WORK | ||
| 474 | help | 473 | help |
| 475 | This option selects the RCU implementation that is | 474 | This option selects the RCU implementation that is |
| 476 | designed for very large SMP system with hundreds or | 475 | designed for very large SMP system with hundreds or |
| @@ -480,7 +479,6 @@ config TREE_RCU | |||
| 480 | config PREEMPT_RCU | 479 | config PREEMPT_RCU |
| 481 | bool "Preemptible tree-based hierarchical RCU" | 480 | bool "Preemptible tree-based hierarchical RCU" |
| 482 | depends on PREEMPT | 481 | depends on PREEMPT |
| 483 | select IRQ_WORK | ||
| 484 | help | 482 | help |
| 485 | This option selects the RCU implementation that is | 483 | This option selects the RCU implementation that is |
| 486 | designed for very large SMP systems with hundreds or | 484 | designed for very large SMP systems with hundreds or |
| @@ -501,9 +499,17 @@ config TINY_RCU | |||
| 501 | 499 | ||
| 502 | endchoice | 500 | endchoice |
| 503 | 501 | ||
| 502 | config SRCU | ||
| 503 | bool | ||
| 504 | help | ||
| 505 | This option selects the sleepable version of RCU. This version | ||
| 506 | permits arbitrary sleeping or blocking within RCU read-side critical | ||
| 507 | sections. | ||
| 508 | |||
| 504 | config TASKS_RCU | 509 | config TASKS_RCU |
| 505 | bool "Task_based RCU implementation using voluntary context switch" | 510 | bool "Task_based RCU implementation using voluntary context switch" |
| 506 | default n | 511 | default n |
| 512 | select SRCU | ||
| 507 | help | 513 | help |
| 508 | This option enables a task-based RCU implementation that uses | 514 | This option enables a task-based RCU implementation that uses |
| 509 | only voluntary context switch (not preemption!), idle, and | 515 | only voluntary context switch (not preemption!), idle, and |
| @@ -668,9 +674,10 @@ config RCU_BOOST | |||
| 668 | 674 | ||
| 669 | config RCU_KTHREAD_PRIO | 675 | config RCU_KTHREAD_PRIO |
| 670 | int "Real-time priority to use for RCU worker threads" | 676 | int "Real-time priority to use for RCU worker threads" |
| 671 | range 1 99 | 677 | range 1 99 if RCU_BOOST |
| 672 | depends on RCU_BOOST | 678 | range 0 99 if !RCU_BOOST |
| 673 | default 1 | 679 | default 1 if RCU_BOOST |
| 680 | default 0 if !RCU_BOOST | ||
| 674 | help | 681 | help |
| 675 | This option specifies the SCHED_FIFO priority value that will be | 682 | This option specifies the SCHED_FIFO priority value that will be |
| 676 | assigned to the rcuc/n and rcub/n threads and is also the value | 683 | assigned to the rcuc/n and rcub/n threads and is also the value |
| @@ -1595,6 +1602,7 @@ config PERF_EVENTS | |||
| 1595 | depends on HAVE_PERF_EVENTS | 1602 | depends on HAVE_PERF_EVENTS |
| 1596 | select ANON_INODES | 1603 | select ANON_INODES |
| 1597 | select IRQ_WORK | 1604 | select IRQ_WORK |
| 1605 | select SRCU | ||
| 1598 | help | 1606 | help |
| 1599 | Enable kernel support for various performance events provided | 1607 | Enable kernel support for various performance events provided |
| 1600 | by software and hardware. | 1608 | by software and hardware. |
