lkml.org 
[lkml]   [2011]   [Jan]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 1/2] cgroups: export cgroup_iter_{start,next,end}
    Date
    From: Kirill A. Shutemov <kirill@shutemov.name>

    Signed-off-by: Kirill A. Shutemov <kirill@shutemov.name>
    ---
    kernel/cgroup.c | 3 +++
    1 files changed, 3 insertions(+), 0 deletions(-)

    diff --git a/kernel/cgroup.c b/kernel/cgroup.c
    index b24d702..e3be81a 100644
    --- a/kernel/cgroup.c
    +++ b/kernel/cgroup.c
    @@ -2443,6 +2443,7 @@ void cgroup_iter_start(struct cgroup *cgrp, struct cgroup_iter *it)
    it->cg_link = &cgrp->css_sets;
    cgroup_advance_iter(cgrp, it);
    }
    +EXPORT_SYMBOL(cgroup_iter_start);

    struct task_struct *cgroup_iter_next(struct cgroup *cgrp,
    struct cgroup_iter *it)
    @@ -2467,11 +2468,13 @@ struct task_struct *cgroup_iter_next(struct cgroup *cgrp,
    }
    return res;
    }
    +EXPORT_SYMBOL(cgroup_iter_next);

    void cgroup_iter_end(struct cgroup *cgrp, struct cgroup_iter *it)
    {
    read_unlock(&css_set_lock);
    }
    +EXPORT_SYMBOL(cgroup_iter_end);

    static inline int started_after_time(struct task_struct *t1,
    struct timespec *time,
    --
    1.7.3.5


    \
     
     \ /
      Last update: 2011-01-30 11:01    [W:0.022 / U:30.960 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site