Re: [RFC/PATCH] cpuset: cpuset irq affinities

From: Paul Menage
Date: Tue Mar 04 2008 - 00:27:08 EST


On Mon, Mar 3, 2008 at 10:52 AM, Paul Jackson <pj@xxxxxxx> wrote:
> Paul M wrote:
> > It ... would allow memory and CPU assignments to be controlled
> > independently.
>
> Could you motivate this suggestion -- who needs it, or why
> would is it needed?

My impression was that Peter wanted to be able to control the
assignments of CPUs to IRQs in a way that could result in overlapping.
One of the arguments that you posted against his proposal was that
this would break due to the memory overlap requirements of
mem_exclusive cpusets. So this appeared to be a case where the fact
that memory and cpu masks are combined in the same cgroups subsystem
is a drawback. (But maybe I'm misunderstanding the discussion).

I'm sure if cpusets were being developed today on top of cgroups,
rather than being its inspiration, there would be no good reason to
have the memory mask assignment and the cpu mask assignment be part of
the same subsystem - they're only together now because there was no
general grouping mechanism in the kernel when cpusets was written.

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