lkml.org 
[lkml]   [2008]   [Mar]   [7]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateFri, 7 Mar 2008 00:39:24 -0600
FromPaul Jackson <>
SubjectRe: [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@sgi.com> 1.940.382.4214


\
 
 \ /
  Last update: 2008-03-07 07:43    [W:0.459 / U:0.510 seconds]
©2003-2008 Jasper Spaans