Re: [RFC][PATCH] CGroups: Add a per-subsystem hierarchy lock

From: Max Krasnyansky
Date: Thu Jul 03 2008 - 04:18:20 EST




Paul Menage wrote:
> On Tue, Jul 1, 2008 at 8:55 PM, Max Krasnyansky <maxk@xxxxxxxxxxxx> wrote:
>> I was about to say "yeah, looks good" and then tried a couple of
>> different hot-plug scenarious.
>> We still have circular locking even with your patch
>>
>
> What sequence of actions do you do? I've not been able to reproduce a
> lockdep failure.

mkdir /dev/cpuset
mount -t cgroup -o cpuset cpuset /dev/cpuset
mkdir /dev/cpuset/0
mkdir /dev/cpuset/1
echo 0-2 > /dev/cpuset/0/cpuset.cpus
echo 3 > /dev/cpuset/1/cpuset.cpus
echo 0 > /dev/cpuset/cpuset.sched_load_balance
echo 0 > /sys/devices/system/cpu/cpu3/online

I just tried it again and got exact same lockdep output that I sent before.

Max

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/