[PATCH 3/5] sched: Fix an RCU warning in print_task()

Matt Helsley matthltc at us.ibm.com
Thu Apr 22 14:12:12 PDT 2010


On Thu, Apr 22, 2010 at 12:20:04PM +0200, Peter Zijlstra wrote:

<snip>

> You can also pin a cgroup by holding whatever locks are held in the
> ->attach method. But the RCU annotation doesn't know (nor reasonably can
> know about that).

For my future reference, what's the right way to "fix" these
situations with the RCU annotations? (I think your response re: Li's
freezer patch was correct and illustrates the problem I'm referring to.)

Cheers,
	-Matt Helsley


More information about the Containers mailing list