login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2007
»
October
»
5
Re: [PATCH RFC 6/9] RCU priority boosting for preemptible RCU
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: Steven Rostedt
Subject:
Re: [PATCH RFC 6/9] RCU priority boosting for preemptible RCU
Date: Friday, October 5, 2007 - 5:24 am
On Fri, 5 Oct 2007, Gautham R Shenoy wrote:
quoted text
> On Mon, Sep 10, 2007 at 11:39:01AM -0700, Paul E. McKenney wrote: > > [snip] > > > + > > +/* > > + * Return the list from which to boost target tasks. > > + * May only be invoked by the booster task, so guaranteed to > > + * already be initialized. Use rcu_boost_dat element least recently > > + * the destination for task blocking in RCU read-side critical sections. > > + */ > > +static inline struct rcu_boost_dat *rcu_rbd_boosting(int cpu) > > +{ > > + int idx = (rcu_boost_idx + 1) & (RCU_BOOST_ELEMENTS - 1); > > Why is this masking required? When we increment > the rcu_boost_idx in rcu_booster, we do perform a modulo operation > to ensure that it wraps around RCU_BOOST_ELEMENTS.
Because we are not masking rcu_boost_idx, we are masking (rcu_boost_idx + 1) which may extend the bounderies of RCU_BOOST_ELEMENTS. -- Steve -
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:
[PATCH RFC 0/9] RCU: Preemptible RCU
, Paul E. McKenney
, (Mon Sep 10, 11:30 am)
[PATCH RFC 1/9] RCU: Split API to permit multiple RCU impl ...
, Paul E. McKenney
, (Mon Sep 10, 11:32 am)
[PATCH RFC 2/9] RCU: Fix barriers
, Paul E. McKenney
, (Mon Sep 10, 11:33 am)
[PATCH RFC 3/9] RCU: Preemptible RCU
, Paul E. McKenney
, (Mon Sep 10, 11:34 am)
[PATCH RFC 4/9] RCU: synchronize_sched() workaround for CP ...
, Paul E. McKenney
, (Mon Sep 10, 11:35 am)
[PATCH RFC 5/9] RCU: CPU hotplug support for preemptible RCU
, Paul E. McKenney
, (Mon Sep 10, 11:36 am)
[PATCH RFC 6/9] RCU priority boosting for preemptible RCU
, Paul E. McKenney
, (Mon Sep 10, 11:39 am)
[PATCH RFC 7/9] RCU: rcutorture testing for RCU priority b ...
, Paul E. McKenney
, (Mon Sep 10, 11:39 am)
[PATCH RFC 8/9] RCU: Make RCU priority boosting consume le ...
, Paul E. McKenney
, (Mon Sep 10, 11:41 am)
[PATCH RFC 9/9] RCU: preemptible documentation and comment ...
, Paul E. McKenney
, (Mon Sep 10, 11:42 am)
Re: [PATCH RFC 0/9] RCU: Preemptible RCU
, Ingo Molnar
, (Mon Sep 10, 11:44 am)
Re: [PATCH RFC 1/9] RCU: Split API to permit multiple RCU ...
, Steven Rostedt
, (Thu Sep 20, 9:14 pm)
Re: [PATCH RFC 3/9] RCU: Preemptible RCU
, Steven Rostedt
, (Thu Sep 20, 9:17 pm)
Re: [PATCH RFC 3/9] RCU: Preemptible RCU
, Paul E. McKenney
, (Thu Sep 20, 10:50 pm)
Re: [PATCH RFC 3/9] RCU: Preemptible RCU
, Dipankar Sarma
, (Thu Sep 20, 10:56 pm)
Re: [PATCH RFC 3/9] RCU: Preemptible RCU
, Steven Rostedt
, (Fri Sep 21, 7:40 am)
Re: [PATCH RFC 3/9] RCU: Preemptible RCU
, Steven Rostedt
, (Fri Sep 21, 8:20 am)
Re: [PATCH RFC 3/9] RCU: Preemptible RCU
, Peter Zijlstra
, (Fri Sep 21, 8:46 am)
Re: [PATCH RFC 3/9] RCU: Preemptible RCU
, Paul E. McKenney
, (Fri Sep 21, 3:06 pm)
Re: [PATCH RFC 3/9] RCU: Preemptible RCU
, Steven Rostedt
, (Fri Sep 21, 3:31 pm)
Re: [PATCH RFC 3/9] RCU: Preemptible RCU
, Paul E. McKenney
, (Fri Sep 21, 3:44 pm)
Re: [PATCH RFC 3/9] RCU: Preemptible RCU
, Paul E. McKenney
, (Fri Sep 21, 4:03 pm)
Re: [PATCH RFC 3/9] RCU: Preemptible RCU
, Steven Rostedt
, (Fri Sep 21, 4:23 pm)
Re: [PATCH RFC 3/9] RCU: Preemptible RCU
, Paul E. McKenney
, (Fri Sep 21, 4:44 pm)
Re: [PATCH RFC 3/9] RCU: Preemptible RCU
, Paul E. McKenney
, (Fri Sep 21, 5:26 pm)
Re: [PATCH RFC 3/9] RCU: Preemptible RCU
, Paul E. McKenney
, (Fri Sep 21, 5:32 pm)
Re: [PATCH RFC 3/9] RCU: Preemptible RCU
, Steven Rostedt
, (Fri Sep 21, 6:15 pm)
Re: [PATCH RFC 3/9] RCU: Preemptible RCU
, Steven Rostedt
, (Fri Sep 21, 6:19 pm)
Re: [PATCH RFC 3/9] RCU: Preemptible RCU
, Paul E. McKenney
, (Fri Sep 21, 6:43 pm)
Re: [PATCH RFC 3/9] RCU: Preemptible RCU
, Paul E. McKenney
, (Fri Sep 21, 6:53 pm)
Re: [PATCH RFC 3/9] RCU: Preemptible RCU
, Steven Rostedt
, (Fri Sep 21, 7:56 pm)
Re: [PATCH RFC 3/9] RCU: Preemptible RCU
, Steven Rostedt
, (Fri Sep 21, 8:15 pm)
Re: [PATCH RFC 3/9] RCU: Preemptible RCU
, Paul E. McKenney
, (Fri Sep 21, 9:07 pm)
Re: [PATCH RFC 3/9] RCU: Preemptible RCU
, Paul E. McKenney
, (Fri Sep 21, 9:10 pm)
Re: [PATCH RFC 3/9] RCU: Preemptible RCU
, Oleg Nesterov
, (Sun Sep 23, 10:38 am)
Re: [PATCH RFC 3/9] RCU: Preemptible RCU
, Paul E. McKenney
, (Sun Sep 23, 5:15 pm)
Re: [PATCH RFC 3/9] RCU: Preemptible RCU
, Oleg Nesterov
, (Wed Sep 26, 8:13 am)
Re: [PATCH RFC 3/9] RCU: Preemptible RCU
, Paul E. McKenney
, (Thu Sep 27, 8:46 am)
Re: [PATCH RFC 3/9] RCU: Preemptible RCU
, Oleg Nesterov
, (Fri Sep 28, 7:47 am)
Re: [PATCH RFC 3/9] RCU: Preemptible RCU
, Paul E. McKenney
, (Fri Sep 28, 11:57 am)
Re: [PATCH RFC 6/9] RCU priority boosting for preemptible RCU
, Gautham R Shenoy
, (Fri Sep 28, 3:56 pm)
Re: [PATCH RFC 6/9] RCU priority boosting for preemptible RCU
, Steven Rostedt
, (Fri Sep 28, 4:05 pm)
Re: [PATCH RFC 6/9] RCU priority boosting for preemptible RCU
, Paul E. McKenney
, (Sat Sep 29, 8:11 pm)
Re: [PATCH RFC 3/9] RCU: Preemptible RCU
, Oleg Nesterov
, (Sun Sep 30, 9:31 am)
Re: [PATCH RFC 5/9] RCU: CPU hotplug support for preemptib ...
, Oleg Nesterov
, (Sun Sep 30, 9:38 am)
Re: [PATCH RFC 3/9] RCU: Preemptible RCU
, Davide Libenzi
, (Sun Sep 30, 4:02 pm)
Re: [PATCH RFC 3/9] RCU: Preemptible RCU
, Paul E. McKenney
, (Sun Sep 30, 6:20 pm)
Re: [PATCH RFC 3/9] RCU: Preemptible RCU
, Paul E. McKenney
, (Sun Sep 30, 6:37 pm)
Re: [PATCH RFC 5/9] RCU: CPU hotplug support for preemptib ...
, Paul E. McKenney
, (Sun Sep 30, 6:41 pm)
Re: [PATCH RFC 3/9] RCU: Preemptible RCU
, Davide Libenzi
, (Mon Oct 1, 11:44 am)
Re: [PATCH RFC 3/9] RCU: Preemptible RCU
, Paul E. McKenney
, (Mon Oct 1, 12:21 pm)
Re: [PATCH RFC 3/9] RCU: Preemptible RCU
, Davide Libenzi
, (Mon Oct 1, 3:09 pm)
Re: [PATCH RFC 3/9] RCU: Preemptible RCU
, Paul E. McKenney
, (Mon Oct 1, 3:24 pm)
Re: [PATCH RFC 3/9] RCU: Preemptible RCU
, Oleg Nesterov
, (Tue Oct 2, 11:02 am)
Re: [PATCH RFC 6/9] RCU priority boosting for preemptible RCU
, Gautham R Shenoy
, (Fri Oct 5, 4:46 am)
Re: [PATCH RFC 6/9] RCU priority boosting for preemptible RCU
, Steven Rostedt
, (Fri Oct 5, 5:24 am)
Re: [PATCH RFC 6/9] RCU priority boosting for preemptible RCU
, Gautham R Shenoy
, (Fri Oct 5, 6:21 am)
Re: [PATCH RFC 6/9] RCU priority boosting for preemptible RCU
, Paul E. McKenney
, (Fri Oct 5, 7:07 am)
Navigation
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Greg KH
Og dreams of kernels
Jens Axboe
[PATCH 31/33] Fusion: sg chaining support
Arnd Bergmann
Re: finding your own dead "CONFIG_" variables
Mark Brown
[PATCH 2/2] Subject: natsemi: Allow users to disable workaround for DspCfg reset
Tony Breeds
[LGUEST] Look in object dir for .config
git
:
Brian Downing
Re: Git in a Nutshell guide
John Benes
Re: master has some toys
Matthias Lederhofer
[PATCH 4/7] introduce GIT_WORK_TREE to specify the work tree
Alexander Sulfrian
[RFC/PATCH] RE: git calls SSH_ASKPASS even if DISPLAY is not set
Junio C Hamano
Re: Rss produced by git is not valid xml?
git-commits-head
:
Linux Kernel Mailing List
iSeries: fix section mismatch in iseries_veth
Linux Kernel Mailing List
ixbge: remove TX lock and redo TX accounting.
Linux Kernel Mailing List
ixgbe: fix several counter register errata
Linux Kernel Mailing List
b43: fix build with CONFIG_SSB_PCIHOST=n
Linux Kernel Mailing List
9p: block-based virtio client
linux-netdev
:
Michael Breuer
Re: [PATCH] af_packet: Don't use skb after dev_queue_xmit()
Michael Breuer
Re: [PATCH] af_packet: Don't use skb after dev_queue_xmit()
David Daney
[PATCH 5/7] Staging: Octeon Ethernet: Convert to NAPI.
Wolfgang Grandegger
[PATCH net-next v4 1/3] can: mscan: fix improper return if dlc < 8 in start_xmi...
Amit Kumar Salecha
[PATCHv3 NEXT 2/2] NET: Add Qlogic ethernet driver for CNA devices
openbsd-misc
:
Theo de Raadt
Re: Old IPSEC bug
Tomáš Bodžár
Problem with vpnc connection - check group password !
Insan Praja SW