Re: [PATCH 2/2] Add support for the per-task sem_undo list (v2)

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

 




On 08/04/2010 05:38 PM, Dan Smith wrote:
> OL>  In that case, the atomic_inc for the first task should occur
> OL>  earlier - as soon as it is attached to the task _and_ inserted
> OL>  into the objhash.
>
> Okay, fair enough.  By my calculations, it belongs just a few lines
> above, in restore_sem_undo() before a successful termination.  Then we

Yep, in the last "else" clause that returns the @ulp.

> leave the refcount increment in restore_obj_sem_undo(), but only for
> second-and-later tasks.  Agreed?

Deal :)

Oren.
_______________________________________________
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