[CRIU] [PATCH 05/21] parasite: use transparent thread indexes

Pavel Emelyanov xemul at parallels.com
Fri May 24 10:47:19 EDT 2013


On 05/24/2013 05:53 PM, Andrew Vagin wrote:
> On Fri, May 24, 2013 at 04:47:32PM +0400, Pavel Emelyanov wrote:
>> On 05/24/2013 04:20 PM, Andrey Vagin wrote:
>>> In this case we don't need to search thread_state in parasite.
>>
>> Comment should explain what "transparent" means.
> 
> We have three arrays for thread related data: item->threads,
> parasite_ctl->thread and tid_state in parasite.
> 
> With this patch a thread will have the same index in all arrays.
> 
> The zero index is used for a thread leader.
> .
> 


Applied


More information about the CRIU mailing list