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

From: Paul Menage
Date: Fri Mar 07 2008 - 03:48:22 EST


On Thu, Mar 6, 2008 at 10:39 PM, Paul Jackson <pj@xxxxxxx> wrote:
> I guess this will require adding a line:
> .create = cgroup_create
> line to the:
> static struct file_operations cgroup_file_operations = {
> initialization in kernel/cgroup.c, and a cgroup_create() routine
> in kernel/cgroup.c, that calls an optional per-cgroup-subsystem
> create routine, that, in the case of cpusets, is willing to create
> one of these irqs.N.name files, in the top cpuset, if all looks
> right.
>

An alternative would be to just have some kind of "irqsets" file in
the top-level cpuset directory and let the user write irq group
definitions into that file.

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/