lkml.org 
[lkml]   [2013]   [Jan]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH v2 2/6] sched: split out css_online/css_offline from tg creation/destruction

    * Li Zefan <lizefan@huawei.com> wrote:

    > extern struct task_group *sched_create_group(struct task_group *parent);
    > +extern void sched_online_group(struct task_group *tg,
    > + struct task_group *parent);
    > extern void sched_destroy_group(struct task_group *tg);
    > +extern void sched_offline_group(struct task_group *tg);

    Btw., a rename of these APIs might be in order, along the usual
    patterns:

    sched_task_group_create()
    sched_task_group_online()
    sched_task_group_offline()
    sched_task_group_destroy()

    etc.

    that way the naming is more hierarchical and there's no clash
    with the sched_group concept which is about something else.

    (In a separate patch.)

    Thanks,

    Ingo


    \
     
     \ /
      Last update: 2013-01-24 11:43    [W:5.066 / U:0.008 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site