[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <4852E8D5.3000503@nortel.com>
Date: Fri, 13 Jun 2008 15:38:29 -0600
From: "Chris Friesen" <cfriesen@...tel.com>
To: linux-kernel@...r.kernel.org, vatsa@...ux.vnet.ibm.com,
a.p.zijlstra@...llo.nl
Subject: odd timing bug with cgroups?
I'm seeing some odd behaviour in the case where a parent task forks a
child and then immediately attempts to put the child into a group.
It appears that there is a window after task creation where the child
task is in "limbo" such that the parent cannot put it into a group. If
I run the parent under "strace" or else sleep for a bit before trying to
put the child into a group, then everything works fine.
This seems odd...I would think that as soon as the fork() call returns
in the parent we should be able to put that task into a group.
I'm just starting to look at the code, but I thought I'd mention it in
case someone knows exactly where to look.
Chris
--
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