[Devel] Re: commit 7534432dcc3c654a8671b6b0cdffd1dbdbc73074
Paul Menage
menage at google.com
Thu Jan 22 15:07:05 PST 2009
On Thu, Jan 22, 2009 at 10:47 AM, Serge E. Hallyn <serue at us.ibm.com> wrote:
> #!/bin/bash
> mount -t cgroup -o freezer none /cgroup
> sleep 100 &
> pid=`jobs -p`
You can use $! to refer to the most recently started background process.
> mkdir /cgroup/1
> echo $pid > /cgroup/1/tasks
> umount /cgroup
> mount -t cgroup -o freezer,ns none /cgroup
This command should have failed with EBUSY, since freezer is already
part of an existing hierarchy. So I think it's a red herring in this
problem.
> mount -t cgroup -o freezer none /cgroup
> #kill %1
Is there a reason for this commented-out line?
> sleep 100 &
> pid=`jobs -p | tail -1`
> mkdir /cgroup/2
> echo $pid > /cgroup/2/tasks
This is the line that crashes?
> umount /cgroup
> ==============================================================
>
> ==============================================================
> The BUG output:
> ==============================================================
>
>
> ------------[ cut here ]------------
> kernel BUG at kernel/cgroup.c:468!
What is this line in your tree?
Paul
_______________________________________________
Containers mailing list
Containers at lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/containers
More information about the Devel
mailing list