[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20100903.095539.220051635.davem@davemloft.net>
Date: Fri, 03 Sep 2010 09:55:39 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: lizf@...fujitsu.com
Cc: herbert@...dor.hengli.com.au, davej@...hat.com,
netdev@...r.kernel.org, linux-kernel@...r.kernel.org,
peterz@...radead.org, menage@...gle.com
Subject: Re: [PATCH v2] cls_cgroup: Fix rcu lockdep warning
From: Li Zefan <lizf@...fujitsu.com>
Date: Fri, 03 Sep 2010 09:42:43 +0800
> Dave reported an rcu lockdep warning on 2.6.35.4 kernel
>
> task->cgroups and task->cgroups->subsys[i] are protected by RCU.
> So we avoid accessing invalid pointers here. This might happen,
> for example, when you are deref-ing those pointers while someone
> move @task from one cgroup to another.
>
> Reported-by: Dave Jones <davej@...hat.com>
> Signed-off-by: Li Zefan <lizf@...fujitsu.com>
Applied, thanks.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists