tech-kern archive

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

Re: lwp resource limit



On Jun 8, 2012, at 5:24 AM, Christos Zoulas wrote:

>> +    if (l->l_flag & LW_RESCOUNT)
>> 
>> I don't see the need for this, why not check p_nlwp == 1?
>> 
>> if this is the first lwp for the proc p_nlwp should be 0 so check
>> maxproc otherwise maxlwp.
> 
> You are forgetting compat_linux.

No I'm not.  I'm not using l_lid but the # of lwps in the proc.



Home | Main Index | Thread Index | Old Index