Re: cgroup scheduling: Adding kthreadd to a non-RT cgroup candeadlock the kernel

From: Peter Zijlstra
Date: Wed Jan 05 2011 - 04:43:52 EST


On Tue, 2011-01-04 at 23:54 -0500, Nelson Elhage wrote:
> Hi,
>
> I've found a bug where, on CONFIG_RT_GROUP_SCHED systems, adding the kthreadd
> task to a cgroup with cpu.rt_runtime_us = 0 (as some cgroup configuration
> scripts do, when they move all processes into a default cgroup), can result in
> deadlocks in the kernel.

IMHO its a bug to move kthreadd into a cgroup. Simply don't do that.


--
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/