summaryrefslogtreecommitdiffstats
path: root/init
diff options
context:
space:
mode:
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>2017-05-10 18:57:16 -0400
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>2017-06-08 21:52:39 -0400
commitf7a10a975036ef9ca957bfe12ab2d4b1a46cccd1 (patch)
treee871d763558ebc957577144fec2e65c800e2737d /init
parent90040c9e3015054db7efa0101afdd446d1167fe8 (diff)
rcu: Remove the RCU_KTHREAD_PRIO Kconfig option
Anything that can be done with the RCU_KTHREAD_PRIO Kconfig option can also be done with the rcutree.kthread_prio kernel boot parameter. This commit therefore removes this Kconfig option. Reported-by: Linus Torvalds <torvalds@linux-foundation.org> Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com> Cc: Frederic Weisbecker <fweisbec@gmail.com> Cc: Rik van Riel <riel@redhat.com>
Diffstat (limited to 'init')
-rw-r--r--init/Kconfig31
1 files changed, 0 insertions, 31 deletions
diff --git a/init/Kconfig b/init/Kconfig
index a2cfde19e8b8..6f257d51f582 100644
--- a/init/Kconfig
+++ b/init/Kconfig
@@ -697,37 +697,6 @@ config RCU_BOOST
697 Say Y here if you are working with real-time apps or heavy loads 697 Say Y here if you are working with real-time apps or heavy loads
698 Say N here if you are unsure. 698 Say N here if you are unsure.
699 699
700config RCU_KTHREAD_PRIO
701 int "Real-time priority to use for RCU worker threads"
702 range 1 99 if RCU_BOOST
703 range 0 99 if !RCU_BOOST
704 default 1 if RCU_BOOST
705 default 0 if !RCU_BOOST
706 depends on RCU_EXPERT
707 help
708 This option specifies the SCHED_FIFO priority value that will be
709 assigned to the rcuc/n and rcub/n threads and is also the value
710 used for RCU_BOOST (if enabled). If you are working with a
711 real-time application that has one or more CPU-bound threads
712 running at a real-time priority level, you should set
713 RCU_KTHREAD_PRIO to a priority higher than the highest-priority
714 real-time CPU-bound application thread. The default RCU_KTHREAD_PRIO
715 value of 1 is appropriate in the common case, which is real-time
716 applications that do not have any CPU-bound threads.
717
718 Some real-time applications might not have a single real-time
719 thread that saturates a given CPU, but instead might have
720 multiple real-time threads that, taken together, fully utilize
721 that CPU. In this case, you should set RCU_KTHREAD_PRIO to
722 a priority higher than the lowest-priority thread that is
723 conspiring to prevent the CPU from running any non-real-time
724 tasks. For example, if one thread at priority 10 and another
725 thread at priority 5 are between themselves fully consuming
726 the CPU time on a given CPU, then RCU_KTHREAD_PRIO should be
727 set to priority 6 or higher.
728
729 Specify the real-time priority, or take the default if unsure.
730
731config RCU_BOOST_DELAY 700config RCU_BOOST_DELAY
732 int "Milliseconds to delay boosting after RCU grace-period start" 701 int "Milliseconds to delay boosting after RCU grace-period start"
733 range 0 3000 702 range 0 3000