[CRIU] [PATCH 3/7] rlimit: Allocate and free appropriate Core entry, v2
Pavel Emelyanov
xemul at parallels.com
Fri Mar 14 03:06:55 PDT 2014
On 03/14/2014 01:48 PM, Cyrill Gorcunov wrote:
> On Fri, Mar 14, 2014 at 01:45:25PM +0400, Pavel Emelyanov wrote:
>>>
>>> if (th) {
>>
>> rlimits are per task, why allocating them per thread?
>
> No, the idea behind is that we allocating them per thread group leader,
> ie when th = 1 _and_ tsk = 1 only.
For threads tsk == 0, isn't it?
More information about the CRIU
mailing list