[lkml]   [2011]   [Aug]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [PATCH 3/6] cgroup: introduce cgroup_taskset and use it in subsys->can_attach(), cancel_attach() and attach()
    On Thu, Aug 25, 2011 at 2:20 AM, Tejun Heo <> wrote:
    > I think having separate ->attach() and ->attach_task() is inherently
    > broken.  Look at the memcg discussion I had in this thread for
    > reference and as soon as we need to do something across the tasks
    > being migrated, iteration-by-callback becomes very painful.
    > e.g. let's say memcg wants to find the mm->owner and wants to print
    > warning or fail if that doesn't work out.  How would that be
    > implemented if it's iterating by callback.

    OK, fair point. See my other email for patch comments.

    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2011-08-25 11:35    [W:0.021 / U:0.260 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site