login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2010
»
May
»
4
Re: [PATCH tip/core/rcu 33/48] cgroups: __rcu annotations
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: Paul Menage
Subject:
Re: [PATCH tip/core/rcu 33/48] cgroups: __rcu annotations
Date: Tuesday, May 4, 2010 - 1:48 pm
On Tue, May 4, 2010 at 1:19 PM, Paul E. McKenney <paulmck@linux.vnet.ibm.com> wrote:
quoted text
> From: Arnd Bergmann <arnd@arndb.de> > > Signed-off-by: Arnd Bergmann <arnd@arndb.de> > Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com> > Cc: Paul Menage <menage@google.com> > Cc: Li Zefan <lizf@cn.fujitsu.com>
Acked-by: Paul Menage <menage@google.com>
quoted text
> --- > include/linux/cgroup.h | 4 ++-- > include/linux/sched.h | 2 +- > kernel/cgroup.c | 2 +- > 3 files changed, 4 insertions(+), 4 deletions(-) > > diff --git a/include/linux/cgroup.h b/include/linux/cgroup.h > index 8f78073..b147fd5 100644 > --- a/include/linux/cgroup.h > +++ b/include/linux/cgroup.h > @@ -75,7 +75,7 @@ struct cgroup_subsys_state { > > unsigned long flags; > /* ID for this css, if possible */ > - struct css_id *id; > + struct css_id __rcu *id; > }; > > /* bits in struct cgroup_subsys_state flags field */ > @@ -205,7 +205,7 @@ struct cgroup { > struct list_head children; /* my children */ > > struct cgroup *parent; /* my parent */ > - struct dentry *dentry; /* cgroup fs entry, RCU protected */ > + struct dentry __rcu *dentry; /* cgroup fs entry, RCU protected */ > > /* Private pointers for each registered subsystem */ > struct cgroup_subsys_state *subsys[CGROUP_SUBSYS_COUNT]; > diff --git a/include/linux/sched.h b/include/linux/sched.h > index dad7f66..7307c74 100644 > --- a/include/linux/sched.h > +++ b/include/linux/sched.h > @@ -1429,7 +1429,7 @@ struct task_struct { > #endif > #ifdef CONFIG_CGROUPS > /* Control Group info protected by css_set_lock */ > - struct css_set *cgroups; > + struct css_set __rcu *cgroups; > /* cg_list protected by css_set_lock and tsk->alloc_lock */ > struct list_head cg_list; > #endif > diff --git a/kernel/cgroup.c b/kernel/cgroup.c > index 3a53c77..5cfbc93 100644 > --- a/kernel/cgroup.c > +++ b/kernel/cgroup.c > @@ -138,7 +138,7 @@ struct css_id { > * is called after synchronize_rcu(). But for safe use, css_is_removed() > * css_tryget() should be used for avoiding race. > */ > - struct cgroup_subsys_state *css; > + struct cgroup_subsys_state __rcu *css; > /* > * ID of this css. > */ > -- > 1.7.0 > >
--
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 tip/core/rcu 01/48] rcu: optionally leave lockdep e ...
, Paul E. McKenney
, (Tue May 4, 1:19 pm)
[PATCH tip/core/rcu 02/48] rcu: substitute set_need_resche ...
, Paul E. McKenney
, (Tue May 4, 1:19 pm)
[PATCH tip/core/rcu 03/48] rcu: make dead code really dead
, Paul E. McKenney
, (Tue May 4, 1:19 pm)
[PATCH tip/core/rcu 04/48] rcu: move some code from macro ...
, Paul E. McKenney
, (Tue May 4, 1:19 pm)
[PATCH tip/core/rcu 05/48] rcu: ignore offline CPUs in las ...
, Paul E. McKenney
, (Tue May 4, 1:19 pm)
[PATCH tip/core/rcu 06/48] rcu: Fix bogus CONFIG_PROVE_LOC ...
, Paul E. McKenney
, (Tue May 4, 1:19 pm)
[PATCH tip/core/rcu 07/48] rcu: fix now-bogus rcu_schedule ...
, Paul E. McKenney
, (Tue May 4, 1:19 pm)
[PATCH tip/core/rcu 08/48] rcu: shrink rcutiny by making s ...
, Paul E. McKenney
, (Tue May 4, 1:19 pm)
[PATCH tip/core/rcu 09/48] rcu: rename rcutiny rcu_ctrlblk ...
, Paul E. McKenney
, (Tue May 4, 1:19 pm)
[PATCH tip/core/rcu 10/48] rcu: refactor RCU's context-swi ...
, Paul E. McKenney
, (Tue May 4, 1:19 pm)
[PATCH tip/core/rcu 11/48] rcu: slim down rcutiny by remov ...
, Paul E. McKenney
, (Tue May 4, 1:19 pm)
[PATCH tip/core/rcu 12/48] rcu: enable CPU_STALL_VERBOSE b ...
, Paul E. McKenney
, (Tue May 4, 1:19 pm)
[PATCH tip/core/rcu 13/48] rcu: disable CPU stall warnings ...
, Paul E. McKenney
, (Tue May 4, 1:19 pm)
[PATCH tip/core/rcu 14/48] rcu: print boot-time console me ...
, Paul E. McKenney
, (Tue May 4, 1:19 pm)
[PATCH tip/core/rcu 15/48] rcu: improve RCU CPU stall-warn ...
, Paul E. McKenney
, (Tue May 4, 1:19 pm)
[PATCH tip/core/rcu 16/48] rcu: permit discontiguous cpu_p ...
, Paul E. McKenney
, (Tue May 4, 1:19 pm)
[PATCH tip/core/rcu 17/48] rcu: v2: reduce the number of s ...
, Paul E. McKenney
, (Tue May 4, 1:19 pm)
[PATCH tip/core/rcu 18/48] rcu: improve the RCU CPU-stall ...
, Paul E. McKenney
, (Tue May 4, 1:19 pm)
[PATCH tip/core/rcu 19/48] Debugobjects transition check
, Paul E. McKenney
, (Tue May 4, 1:19 pm)
[PATCH tip/core/rcu 20/48] rcu head introduce rcu head ini ...
, Paul E. McKenney
, (Tue May 4, 1:19 pm)
[PATCH tip/core/rcu 21/48] remove all rcu head initializat ...
, Paul E. McKenney
, (Tue May 4, 1:19 pm)
[PATCH tip/core/rcu 22/48] rcu head remove init
, Paul E. McKenney
, (Tue May 4, 1:19 pm)
[PATCH tip/core/rcu 23/48] tree/tiny rcu: Add debug RCU he ...
, Paul E. McKenney
, (Tue May 4, 1:19 pm)
[PATCH tip/core/rcu 24/48] rcu: make SRCU usable in modules
, Paul E. McKenney
, (Tue May 4, 1:19 pm)
[PATCH tip/core/rcu 0/48] v4 patches queued for 2.6.35
, Paul E. McKenney
, (Tue May 4, 1:19 pm)
[PATCH tip/core/rcu 25/48] rcu: fix debugobjects rcu head ...
, Paul E. McKenney
, (Tue May 4, 1:19 pm)
[PATCH tip/core/rcu 26/48] rcu: RCU_FAST_NO_HZ must check ...
, Paul E. McKenney
, (Tue May 4, 1:19 pm)
[PATCH tip/core/rcu 27/48] vfs: add fs.h to define struct file
, Paul E. McKenney
, (Tue May 4, 1:19 pm)
[PATCH tip/core/rcu 28/48] net: Make accesses to ->br_port ...
, Paul E. McKenney
, (Tue May 4, 1:19 pm)
[PATCH tip/core/rcu 29/48] rcu: add an rcu_dereference_ind ...
, Paul E. McKenney
, (Tue May 4, 1:19 pm)
[PATCH tip/core/rcu 30/48] mce: convert to rcu_dereference ...
, Paul E. McKenney
, (Tue May 4, 1:19 pm)
[PATCH tip/core/rcu 31/48] rcu: define __rcu address space ...
, Paul E. McKenney
, (Tue May 4, 1:19 pm)
[PATCH tip/core/rcu 32/48] rculist: avoid __rcu annotations
, Paul E. McKenney
, (Tue May 4, 1:19 pm)
[PATCH tip/core/rcu 33/48] cgroups: __rcu annotations
, Paul E. McKenney
, (Tue May 4, 1:19 pm)
[PATCH tip/core/rcu 34/48] credentials: rcu annotation
, Paul E. McKenney
, (Tue May 4, 1:19 pm)
[PATCH tip/core/rcu 35/48] keys: __rcu annotations
, Paul E. McKenney
, (Tue May 4, 1:19 pm)
[PATCH tip/core/rcu 36/48] nfs: __rcu annotations
, Paul E. McKenney
, (Tue May 4, 1:19 pm)
[PATCH tip/core/rcu 37/48] net: __rcu annotations for drivers
, Paul E. McKenney
, (Tue May 4, 1:19 pm)
[PATCH tip/core/rcu 38/48] perf_event: __rcu annotations
, Paul E. McKenney
, (Tue May 4, 1:19 pm)
[PATCH tip/core/rcu 39/48] notifiers: __rcu annotations
, Paul E. McKenney
, (Tue May 4, 1:19 pm)
[PATCH tip/core/rcu 40/48] radix-tree: __rcu annotations
, Paul E. McKenney
, (Tue May 4, 1:19 pm)
[PATCH tip/core/rcu 41/48] idr: __rcu annotations
, Paul E. McKenney
, (Tue May 4, 1:19 pm)
[PATCH tip/core/rcu 42/48] input: __rcu annotations
, Paul E. McKenney
, (Tue May 4, 1:19 pm)
[PATCH tip/core/rcu 43/48] vhost: add __rcu annotations
, Paul E. McKenney
, (Tue May 4, 1:19 pm)
[PATCH tip/core/rcu 44/48] net/netfilter: __rcu annotations
, Paul E. McKenney
, (Tue May 4, 1:19 pm)
[PATCH tip/core/rcu 45/48] kvm: add __rcu annotations
, Paul E. McKenney
, (Tue May 4, 1:19 pm)
[PATCH tip/core/rcu 46/48] kernel: __rcu annotations
, Paul E. McKenney
, (Tue May 4, 1:19 pm)
[PATCH tip/core/rcu 47/48] net: __rcu annotations
, Paul E. McKenney
, (Tue May 4, 1:19 pm)
[PATCH tip/core/rcu 48/48] kvm: more __rcu annotations
, Paul E. McKenney
, (Tue May 4, 1:19 pm)
Re: [PATCH tip/core/rcu 21/48] remove all rcu head initial ...
, Matt Mackall
, (Tue May 4, 1:27 pm)
Re: [PATCH tip/core/rcu 21/48] remove all rcu head initial ...
, Paul E. McKenney
, (Tue May 4, 1:36 pm)
Re: [PATCH tip/core/rcu 33/48] cgroups: __rcu annotations
, Paul Menage
, (Tue May 4, 1:48 pm)
Re: [PATCH tip/core/rcu 31/48] rcu: define __rcu address s ...
, Arnd Bergmann
, (Tue May 4, 1:58 pm)
Re: [PATCH tip/core/rcu 28/48] net: Make accesses to ->br_ ...
, Stephen Hemminger
, (Tue May 4, 2:26 pm)
Re: [PATCH tip/core/rcu 43/48] vhost: add __rcu annotations
, Michael S. Tsirkin
, (Tue May 4, 2:39 pm)
Re: [PATCH tip/core/rcu 28/48] net: Make accesses to ->br_ ...
, Arnd Bergmann
, (Tue May 4, 2:41 pm)
Re: [PATCH tip/core/rcu 31/48] rcu: define __rcu address s ...
, Paul E. McKenney
, (Tue May 4, 4:07 pm)
Re: [PATCH tip/core/rcu 21/48] remove all rcu head initial ...
, James Morris
, (Tue May 4, 4:44 pm)
Re: [PATCH tip/core/rcu 43/48] vhost: add __rcu annotations
, Paul E. McKenney
, (Tue May 4, 4:57 pm)
Re: [PATCH tip/core/rcu 43/48] vhost: add __rcu annotations
, Michael S. Tsirkin
, (Tue May 4, 4:59 pm)
Re: [PATCH tip/core/rcu 21/48] remove all rcu head initial ...
, Paul E. McKenney
, (Tue May 4, 5:03 pm)
Re: [PATCH tip/core/rcu 33/48] cgroups: __rcu annotations
, Paul E. McKenney
, (Tue May 4, 5:04 pm)
Re: [PATCH tip/core/rcu 43/48] vhost: add __rcu annotations
, Paul E. McKenney
, (Tue May 4, 5:39 pm)
Re: [PATCH tip/core/rcu 36/48] nfs: __rcu annotations
, David Howells
, (Wed May 5, 3:14 am)
Re: [PATCH tip/core/rcu 36/48] nfs: __rcu annotations
, Trond Myklebust
, (Wed May 5, 5:44 am)
Re: [PATCH tip/core/rcu 36/48] nfs: __rcu annotations
, Paul E. McKenney
, (Wed May 5, 2:01 pm)
Re: [PATCH tip/core/rcu 28/48] net: Make accesses to ->br_ ...
, Paul E. McKenney
, (Wed May 5, 3:03 pm)
Re: [PATCH tip/core/rcu 01/48] rcu: optionally leave lockd ...
, Mathieu Desnoyers
, (Wed May 5, 3:46 pm)
Re: [PATCH tip/core/rcu 01/48] rcu: optionally leave lockd ...
, Paul E. McKenney
, (Wed May 5, 4:05 pm)
Re: [PATCH tip/core/rcu 01/48] rcu: optionally leave lockd ...
, Mathieu Desnoyers
, (Wed May 5, 4:24 pm)
Re: [PATCH tip/core/rcu 01/48] rcu: optionally leave lockd ...
, Paul E. McKenney
, (Wed May 5, 4:36 pm)
Re: [PATCH tip/core/rcu 01/48] rcu: optionally leave lockd ...
, Mathieu Desnoyers
, (Wed May 5, 7:05 pm)
Re: [PATCH tip/core/rcu 28/48] net: Make accesses to ->br_ ...
, Arnd Bergmann
, (Thu May 6, 7:09 am)
Re: [PATCH tip/core/rcu 01/48] rcu: optionally leave lockd ...
, Paul E. McKenney
, (Thu May 6, 4:09 pm)
Re: [PATCH tip/core/rcu 28/48] net: Make accesses to ->br_ ...
, Paul E. McKenney
, (Thu May 6, 4:12 pm)
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
Mandoc Compiling Error
Carl Roberso
Re: Cannot change MTU of carp interface?
Richard Daemon
Re: booting openbsd on eee without cd-rom
Colocation donated by:
Syndicate