lkml.org 
[lkml]   [2008]   [Mar]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    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:3.913 / U:0.084 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site