Re: boot cgroup questions

From: Max Krasnyanskiy
Date: Wed Mar 12 2008 - 15:11:25 EST


Paul Jackson wrote:
Max K wrote:
How is that any different from tasks ? Exact same example right back at you.
Suppose I have a task that needs to run in A and B but not C.

Can't happen.
Of course it can. See below.

Each task belongs to exactly one cpuset, no exceptions.
Sure. Same for irqs.

That's why you can't "treat irqs just like tasks".
Sure you can.

I was talking about running on the _cpus_ that belong to the "sets A and B but not C" and not that a task must belong to more than one cpuset. Unless I misinterpreted your example you were talking about exact same thing. In other words that an irq needs to assigned to the _cpus_ in the sets A and B but not C.
Makes sense ?

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/