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

Paul Menage
2008-03-07T08:48:22Z

On Thu, Mar 6, 2008 at 10:39 PM, Paul Jackson <pj@sgi.com> 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