lkml.org 
[lkml]   [2012]   [Jun]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRe: Attaching a process to cgroups
    From
    Date
    On Thu, 2012-06-21 at 11:54 +0400, Alexey Vlasov wrote: 
    > On Wed, Jun 20, 2012 at 02:28:18PM +0200, Mike Galbraith wrote:
    > >
    > > kernel/cgroup.c::cgroup_attach_task()
    > > {
    > > ...
    > > synchronize_rcu();
    > > ...
    > > }
    >
    > So nothing can be done here? (I mean if only I knew how to fix it I
    > wouldn't ask about it ;)

    Sure, kill the obnoxious thing, it's sitting right in the middle of the
    userspace interface.

    I banged on it a while back (wrt explosive android patches), extracted
    RCU from the userspace interface. It seemed to work great, much faster,
    couldn't make it explode. I wouldn't bet anything I wasn't willing to
    immediately part with that the result was really really safe though ;-)

    -Mike



    \
     
     \ /
      Last update: 2012-06-21 11:01    [W:0.023 / U:30.900 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site