diff options
author | Frederic Weisbecker <fweisbec@gmail.com> | 2013-05-02 11:37:49 -0400 |
---|---|---|
committer | Frederic Weisbecker <fweisbec@gmail.com> | 2013-05-02 11:54:19 -0400 |
commit | c032862fba51a3ca504752d3a25186b324c5ce83 (patch) | |
tree | 955dc2ba4ab3df76ecc2bb780ee84aca04967e8d /init/Kconfig | |
parent | fda76e074c7737fc57855dd17c762e50ed526052 (diff) | |
parent | 8700c95adb033843fc163d112b9d21d4fda78018 (diff) |
Merge commit '8700c95adb03' into timers/nohz
The full dynticks tree needs the latest RCU and sched
upstream updates in order to fix some dependencies.
Merge a common upstream merge point that has these
updates.
Conflicts:
include/linux/perf_event.h
kernel/rcutree.h
kernel/rcutree_plugin.h
Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
Diffstat (limited to 'init/Kconfig')
-rw-r--r-- | init/Kconfig | 77 |
1 files changed, 58 insertions, 19 deletions
diff --git a/init/Kconfig b/init/Kconfig index 8f97a7407714..66f67afad4fa 100644 --- a/init/Kconfig +++ b/init/Kconfig | |||
@@ -28,10 +28,6 @@ config BUILDTIME_EXTABLE_SORT | |||
28 | 28 | ||
29 | menu "General setup" | 29 | menu "General setup" |
30 | 30 | ||
31 | config EXPERIMENTAL | ||
32 | bool | ||
33 | default y | ||
34 | |||
35 | config BROKEN | 31 | config BROKEN |
36 | bool | 32 | bool |
37 | 33 | ||
@@ -583,13 +579,16 @@ config RCU_FAST_NO_HZ | |||
583 | depends on NO_HZ_COMMON && SMP | 579 | depends on NO_HZ_COMMON && SMP |
584 | default n | 580 | default n |
585 | help | 581 | help |
586 | This option causes RCU to attempt to accelerate grace periods in | 582 | This option permits CPUs to enter dynticks-idle state even if |
587 | order to allow CPUs to enter dynticks-idle state more quickly. | 583 | they have RCU callbacks queued, and prevents RCU from waking |
588 | On the other hand, this option increases the overhead of the | 584 | these CPUs up more than roughly once every four jiffies (by |
589 | dynticks-idle checking, thus degrading scheduling latency. | 585 | default, you can adjust this using the rcutree.rcu_idle_gp_delay |
586 | parameter), thus improving energy efficiency. On the other | ||
587 | hand, this option increases the duration of RCU grace periods, | ||
588 | for example, slowing down synchronize_rcu(). | ||
590 | 589 | ||
591 | Say Y if energy efficiency is critically important, and you don't | 590 | Say Y if energy efficiency is critically important, and you |
592 | care about real-time response. | 591 | don't care about increased grace-period durations. |
593 | 592 | ||
594 | Say N if you are unsure. | 593 | Say N if you are unsure. |
595 | 594 | ||
@@ -656,7 +655,7 @@ config RCU_BOOST_DELAY | |||
656 | Accept the default if unsure. | 655 | Accept the default if unsure. |
657 | 656 | ||
658 | config RCU_NOCB_CPU | 657 | config RCU_NOCB_CPU |
659 | bool "Offload RCU callback processing from boot-selected CPUs" | 658 | bool "Offload RCU callback processing from boot-selected CPUs (EXPERIMENTAL" |
660 | depends on TREE_RCU || TREE_PREEMPT_RCU | 659 | depends on TREE_RCU || TREE_PREEMPT_RCU |
661 | default n | 660 | default n |
662 | help | 661 | help |
@@ -667,16 +666,56 @@ config RCU_NOCB_CPU | |||
667 | 666 | ||
668 | This option offloads callback invocation from the set of | 667 | This option offloads callback invocation from the set of |
669 | CPUs specified at boot time by the rcu_nocbs parameter. | 668 | CPUs specified at boot time by the rcu_nocbs parameter. |
670 | For each such CPU, a kthread ("rcuoN") will be created to | 669 | For each such CPU, a kthread ("rcuox/N") will be created to |
671 | invoke callbacks, where the "N" is the CPU being offloaded. | 670 | invoke callbacks, where the "N" is the CPU being offloaded, |
672 | Nothing prevents this kthread from running on the specified | 671 | and where the "x" is "b" for RCU-bh, "p" for RCU-preempt, and |
673 | CPUs, but (1) the kthreads may be preempted between each | 672 | "s" for RCU-sched. Nothing prevents this kthread from running |
674 | callback, and (2) affinity or cgroups can be used to force | 673 | on the specified CPUs, but (1) the kthreads may be preempted |
675 | the kthreads to run on whatever set of CPUs is desired. | 674 | between each callback, and (2) affinity or cgroups can be used |
676 | 675 | to force the kthreads to run on whatever set of CPUs is desired. | |
677 | Say Y here if you want reduced OS jitter on selected CPUs. | 676 | |
677 | Say Y here if you want to help to debug reduced OS jitter. | ||
678 | Say N here if you are unsure. | 678 | Say N here if you are unsure. |
679 | 679 | ||
680 | choice | ||
681 | prompt "Build-forced no-CBs CPUs" | ||
682 | default RCU_NOCB_CPU_NONE | ||
683 | help | ||
684 | This option allows no-CBs CPUs to be specified at build time. | ||
685 | Additional no-CBs CPUs may be specified by the rcu_nocbs= | ||
686 | boot parameter. | ||
687 | |||
688 | config RCU_NOCB_CPU_NONE | ||
689 | bool "No build_forced no-CBs CPUs" | ||
690 | depends on RCU_NOCB_CPU | ||
691 | help | ||
692 | This option does not force any of the CPUs to be no-CBs CPUs. | ||
693 | Only CPUs designated by the rcu_nocbs= boot parameter will be | ||
694 | no-CBs CPUs. | ||
695 | |||
696 | config RCU_NOCB_CPU_ZERO | ||
697 | bool "CPU 0 is a build_forced no-CBs CPU" | ||
698 | depends on RCU_NOCB_CPU | ||
699 | help | ||
700 | This option forces CPU 0 to be a no-CBs CPU. Additional CPUs | ||
701 | may be designated as no-CBs CPUs using the rcu_nocbs= boot | ||
702 | parameter will be no-CBs CPUs. | ||
703 | |||
704 | Select this if CPU 0 needs to be a no-CBs CPU for real-time | ||
705 | or energy-efficiency reasons. | ||
706 | |||
707 | config RCU_NOCB_CPU_ALL | ||
708 | bool "All CPUs are build_forced no-CBs CPUs" | ||
709 | depends on RCU_NOCB_CPU | ||
710 | help | ||
711 | This option forces all CPUs to be no-CBs CPUs. The rcu_nocbs= | ||
712 | boot parameter will be ignored. | ||
713 | |||
714 | Select this if all CPUs need to be no-CBs CPUs for real-time | ||
715 | or energy-efficiency reasons. | ||
716 | |||
717 | endchoice | ||
718 | |||
680 | endmenu # "RCU Subsystem" | 719 | endmenu # "RCU Subsystem" |
681 | 720 | ||
682 | config IKCONFIG | 721 | config IKCONFIG |