Re: [Devel] [RFC][PATCH 14/16] Introduce proc_mnt for pid_ns

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 2007-05-31 at 15:48 +0400, Pavel Emelianov wrote:
> > +void proc_flush_task(struct task_struct *task)
> > +{
> > +     int i;
> > +     struct pid *pid;
> > +     struct upid* upid;
> > +
> > +     pid = task_pid(task);
> > +     if (!pid)
> > +             return;
> 
> The code below will never be called as task flushes all his pids
> in __unhash_process() that happens before this. Or did I miss smth? 

Nope, that's a very nice catch.  Suka is working on a patch to fix this
right now.  We just need to keep the list of pids accessible a little
longer, but I think Suka ran into a chicken-and-egg problem while trying
to solve this.  Suka, care to post your workaround?

-- Dave

_______________________________________________
Containers mailing list
Containers@xxxxxxxxxxxxxxxxxxxxxxxxxx
https://lists.linux-foundation.org/mailman/listinfo/containers

[Index of Archives]     [Cgroups]     [Netdev]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux