[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20080307003924.6dcb16a3.pj@sgi.com>
Date: Fri, 7 Mar 2008 00:39:24 -0600
From: Paul Jackson <pj@....com>
To: Paul Jackson <pj@....com>
Cc: a.p.zijlstra@...llo.nl, maxk@...lcomm.com, mingo@...e.hu,
tglx@...utronix.de, oleg@...sign.ru, rostedt@...dmis.org,
linux-kernel@...r.kernel.org, rientjes@...gle.com
Subject: Re: [RFC/PATCH] cpuset: cpuset irq affinities
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@....com> 1.940.382.4214
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists