On Sat, 2 Nov 2019 23:21:40 +0100
Amadeusz Sławiński wrote:
> Optimize startup time, making closeallfiles() faster, by doing less
> system calls. Instead of calling close for each possible file, use
> poll() to check if file exist at all. On linux with open file limit set
> to 1048576, it should
Optimize startup time, making closeallfiles() faster, by doing less
system calls. Instead of calling close for each possible file, use
poll() to check if file exist at all. On linux with open file limit set
to 1048576, it should do 1024 poll() calls instead of 1048576 close().
Bug: 55618
Signed-o