I did not want to make it smaller, but yes, you are right I will remove the 
slop.

christos

> On May 5, 2019, at 4:30 PM, matthew green <m...@eterna.com.au> wrote:
> 
> "Christos Zoulas" writes:
>> Module Name: src
>> Committed By:        christos
>> Date:                Sat May  4 15:46:58 UTC 2019
>> 
>> Modified Files:
>>      src/sys/kern: sys_select.c
>> 
>> Log Message:
>> PR/54158: Anthony Mallet: poll(2) does not allow polling all possible fds
>> (hardcoded limit to 1000 + #<open-fds>). Changed to limit by the max of
>> the resource limit of open descriptors and the above.
> 
> is the old value useful now?  i think your checking against
> the current limit seems totally valid and obsoletes the old
> check which was simply some slop over open fds.
> 
> thanks.
> 
> 
> .mrg.

Reply via email to