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

From: Paul Jackson
Date: Fri Mar 07 2008 - 01:40:11 EST


pj wrote:
> These 'irqs.N.name' files would be the first instance of allowing
> user created files in cpuset directories. That will require some
> changes to the cpuset or cgroup code; I don't know how much.

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.

--
I won't rest till it's the best ...
Programmer, Linux Scalability
Paul Jackson <pj@xxxxxxx> 1.940.382.4214
--
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/