cgroups: let ss->can_attach and ss->attach do whole threadgroups at a time
[safe/jmp/linux-2.6] / kernel / rcutree.h
index ca56036..8e8287a 100644 (file)
@@ -81,6 +81,8 @@ struct rcu_dynticks {
 struct rcu_node {
        spinlock_t lock;
        long    gpnum;          /* Current grace period for this node. */
+                               /*  This will either be equal to or one */
+                               /*  behind the root rcu_node's gpnum. */
        unsigned long qsmask;   /* CPUs or groups that need to switch in */
                                /*  order for current grace period to proceed.*/
        unsigned long qsmaskinit;
@@ -140,7 +142,7 @@ struct rcu_data {
         */
        struct rcu_head *nxtlist;
        struct rcu_head **nxttail[RCU_NEXT_SIZE];
-       long            qlen;           /* # of queued callbacks */
+       long            qlen;           /* # of queued callbacks */
        long            blimit;         /* Upper limit on a processed batch */
 
 #ifdef CONFIG_NO_HZ