[CRIU] [PATCH 4/6] pstree: resort code about abandoned tasks

Pavel Emelyanov xemul at virtuozzo.com
Tue Mar 15 08:07:45 PDT 2016


On 03/15/2016 05:59 PM, Andrew Vagin wrote:
> On Tue, Mar 15, 2016 at 04:13:08PM +0300, Pavel Emelyanov wrote:
>>
>>> @@ -24,6 +24,8 @@ static struct rb_root pid_root_rb;
>>>  
>>>  #define CLONE_ALLNS     (CLONE_NEWPID | CLONE_NEWNET | CLONE_NEWIPC | CLONE_NEWUTS | CLONE_NEWNS | CLONE_NEWUSER)
>>>  
>>> +#define alloc_pstree_item_with_rst() __alloc_pstree_item(true)
>>
>> There should not be such global call after this set. Please, fix.
> This define in pstree.c, it isn't global

Sorry, wrong wording :)
There should not be such call at all after this set ;)

>>
>>> +
>>>  void core_entry_free(CoreEntry *core)
>>>  {
>>>  	if (core->tc && core->tc->timers)
>>
> .
> 



More information about the CRIU mailing list