Bruce Simpson wrote:
> Ben Greear wrote:
>>
>> We have to ensure that the Node memory can never be deleted while 
>> that method
>> is running.  My work-around solves this for any sane amount of 
>> file-descriptors
>> (up to 1024).
>
> I've committed the part of the change which preallocates 
> _selector_entries, but limited it to 256 file descriptors to keep the 
> memory wastage down. thanks!
Hopefully no one will ever get a descriptor bigger than 256!  It should 
certainly be better than before, but I'm
going to leave my tree at 1024 since I open a descriptor per interface 
and sometimes run lots of protocols.

Thanks,
Ben

-- 
Ben Greear <[email protected]> 
Candela Technologies Inc  http://www.candelatech.com


_______________________________________________
Xorp-hackers mailing list
[email protected]
http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/xorp-hackers

Reply via email to