login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2008
»
March
»
5
Re: [PATCH] move PREEMPT_RCU config option back under PREEMPT
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: Paul E. McKenney
Subject:
Re: [PATCH] move PREEMPT_RCU config option back under PREEMPT
Date: Tuesday, March 4, 2008 - 5:58 pm
On Tue, Mar 04, 2008 at 03:55:42PM -0500, Steven Rostedt wrote:
quoted text
> > On Tue, 4 Mar 2008, Paul E. McKenney wrote: > > > > The original preemptible-RCU patch put the choice between classic and > > preemptible RCU into kernel/Kconfig.preempt, which resulted in build > > failures on machines not supporting CONFIG_PREEMPT. This choice was > > therefore moved to init/Kconfig, which worked, but placed the choice > > between classic and preemptible RCU at the top level, a very obtuse choice > > indeed. This patch changes from the Kconfig "choice" mechanism to a pair > > of booleans, only one of which (CONFIG_PREEMPT_RCU) is user-visible, > > and is located in kernel/Kconfig.preempt, where one would expect it > > to be. The other (CONFIG_CLASSIC_RCU) is in init/Kconfig so that it > > is available to all architectures, hopefully avoiding build breakage. > > Thanks to Roman Zippel for suggesting this approach. > > > > I have tested this, but sadly do not have access to a machine that does > > not support CONFIG_PREEMPT. However, I did edit my config in an attempt > > to simulate this situation. > > One minor comment, but otherwise: > > Acked-by: Steven Rostedt <srostedt@redhat.com> > > > > > Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com> > > > > config CLASSIC_RCU > > - bool "Classic RCU" > > + def_bool !PREEMPT_RCU > > help > > This option selects the classic RCU implementation that is > > designed for best read-side performance on non-realtime > > - systems. > > - > > - Say Y if you are unsure. > > - > > You can get rid of the "help" part since it isn't visible to users.
So how about if I replace it with comment lines (starting with "#", not with "comment")? Thanx, Paul --
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
[RFC PATCH 0/6] RCU: Preemptible-RCU
, Gautham R Shenoy
, (Thu Dec 13, 10:03 am)
[RFC PATCH 1/6] Preempt-RCU: Use softirq instead of taskle ...
, Gautham R Shenoy
, (Thu Dec 13, 10:14 am)
[RFC PATCH 2/6] Preempt-RCU: Reorganize RCU code into rcuc ...
, Gautham R Shenoy
, (Thu Dec 13, 10:15 am)
[RFC PATCH 4/6] Preempt-RCU: Implementation
, Gautham R Shenoy
, (Thu Dec 13, 10:16 am)
[RFC PATCH 5/6] Preempt-RCU: CPU Hotplug handling
, Gautham R Shenoy
, (Thu Dec 13, 10:17 am)
[RFC PATCH 6/6] Preempt-RCU: Update RCU Documentation.
, Gautham R Shenoy
, (Thu Dec 13, 10:18 am)
Re: [RFC PATCH 0/6] RCU: Preemptible-RCU
, Steven Rostedt
, (Thu Dec 13, 10:36 am)
Re: [RFC PATCH 0/6] RCU: Preemptible-RCU
, Ingo Molnar
, (Thu Dec 13, 1:38 pm)
Re: [RFC PATCH 0/6] RCU: Preemptible-RCU
, Ingo Molnar
, (Thu Dec 13, 1:42 pm)
Re: [RFC PATCH 6/6] Preempt-RCU: Update RCU Documentation.
, Ingo Molnar
, (Thu Dec 13, 1:42 pm)
Re: [RFC PATCH 0/6] RCU: Preemptible-RCU
, Steven Rostedt
, (Thu Dec 13, 1:56 pm)
Re: [RFC PATCH 0/6] RCU: Preemptible-RCU
, Gautham R Shenoy
, (Thu Dec 13, 2:09 pm)
Re: [RFC PATCH 0/6] RCU: Preemptible-RCU
, Paul E. McKenney
, (Thu Dec 13, 4:41 pm)
Re: [RFC PATCH 2/6] Preempt-RCU: Reorganize RCU code into ...
, Johannes Weiner
, (Fri Dec 14, 7:51 am)
Re: [RFC PATCH 2/6] Preempt-RCU: Reorganize RCU code into ...
, Paul E. McKenney
, (Fri Dec 14, 9:12 am)
Re: [RFC PATCH 4/6] Preempt-RCU: Implementation
, Roman Zippel
, (Thu Feb 28, 9:34 pm)
Re: [RFC PATCH 4/6] Preempt-RCU: Implementation
, Paul E. McKenney
, (Thu Feb 28, 9:53 pm)
Re: [RFC PATCH 4/6] Preempt-RCU: Implementation
, Roman Zippel
, (Fri Feb 29, 5:38 am)
Re: [RFC PATCH 4/6] Preempt-RCU: Implementation
, Steven Rostedt
, (Fri Feb 29, 6:53 am)
Re: [RFC PATCH 4/6] Preempt-RCU: Implementation
, Steven Rostedt
, (Fri Feb 29, 6:55 am)
Re: [RFC PATCH 4/6] Preempt-RCU: Implementation
, Roman Zippel
, (Fri Feb 29, 7:31 am)
Re: [RFC PATCH 4/6] Preempt-RCU: Implementation
, Paul E. McKenney
, (Sat Mar 1, 12:39 pm)
Re: [RFC PATCH 4/6] Preempt-RCU: Implementation
, Steven Rostedt
, (Sat Mar 1, 2:07 pm)
Re: [RFC PATCH 4/6] Preempt-RCU: Implementation
, Roman Zippel
, (Sat Mar 1, 8:06 pm)
Re: [RFC PATCH 4/6] Preempt-RCU: Implementation
, Roman Zippel
, (Sat Mar 1, 8:09 pm)
Re: [RFC PATCH 4/6] Preempt-RCU: Implementation
, Paul E. McKenney
, (Mon Mar 3, 11:55 am)
[PATCH] move PREEMPT_RCU config option back under PREEMPT
, Paul E. McKenney
, (Tue Mar 4, 1:22 pm)
Re: [RFC PATCH 4/6] Preempt-RCU: Implementation
, Roman Zippel
, (Tue Mar 4, 1:49 pm)
Re: [PATCH] move PREEMPT_RCU config option back under PREEMPT
, Steven Rostedt
, (Tue Mar 4, 1:55 pm)
Re: [PATCH] move PREEMPT_RCU config option back under PREEMPT
, Paul E. McKenney
, (Tue Mar 4, 5:58 pm)
Re: [PATCH] move PREEMPT_RCU config option back under PREEMPT
, Roman Zippel
, (Tue Mar 4, 7:06 pm)
Re: [PATCH] move PREEMPT_RCU config option back under PREEMPT
, Paul E. McKenney
, (Wed Mar 5, 12:00 pm)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Rafael J. Wysocki
[Bug #16136] Linux 2.6.34 causes system lockup on Compaq Presario 2200 Laptop
Joerg Roedel
Re: [patch] dma-debug: off by one issue
Tetsuo Handa
Re: [AppArmor #7 0/13] AppArmor security module
Pekka Enberg
Re: BUG in free_block (tainted)
Jakub Narebski
Re: [PATCH] gitweb: Fix shortlog only showing HEAD revision.
git
:
Christian Stimming
git-gui: Fix broken revert confirmation.
Johannes Schindelin
Re: [PATCH 2/2] git-svn: support fetch with autocrlf on
Mark Burton
Re: [PATCH] builtin-branch: highlight current remote branches with an asterisk
Junio C Hamano
Re: git-svnimport
Junio C Hamano
Re: [PATCH 6/6] Teach core object handling functions about gitlinks
linux-netdev
:
Nick Piggin
Re: Kernel WARNING: at net/core/dev.c:1330 __netif_schedule+0x2c/0x98()
Daniel Lezcano
getsockopt(TCP_DEFER_ACCEPT) value change
David Miller
Re: 2.6.27.18: bnx2/tg3: BUG: "scheduling while atomic" trying to ifenslave a seco...
Amit Kumar Salecha
[PATCH NEXT 10/10] qlcnic: add cksum flag
Patrick McHardy
Re: [PATCH RESEND 1/3] netfilter: xtables: inclusion of xt_condition
git-commits-head
:
Linux Kernel Mailing List
ath9k_htc: Allocate URBs properly
Linux Kernel Mailing List
ath9k: Added get_survey callback in order to get channel noise
Linux Kernel Mailing List
ALSA: snd-usb-caiaq: Do not expose hardware input mode 0 of A4DJ
Linux Kernel Mailing List
cpumask: make irq_set_affinity() take a const struct cpumask
Linux Kernel Mailing List
V4L/DVB (9041): Add support YUAN High-Tech STK7700D (1164:1f08)
openbsd-misc
:
Conor
Re: RFID Reader
Josh Grosse
ssh/sshd challenge-response seems to have stopped working in -current
Stuart Henderson
Re: SquidGuard problem
Henning Brauer
Re: 3ware hardware raid support?
Ryan McBride
Re: Packets Per Second Limit?
Colocation donated by:
Syndicate