screen-devel
[Top][All Lists]
Advanced

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

Re: [screen-devel] [PATCH for master] Make closeallfiles() faster


From: Amadeusz Sławiński
Subject: Re: [screen-devel] [PATCH for master] Make closeallfiles() faster
Date: Sat, 28 Dec 2019 14:00:36 +0100

On Sat,  2 Nov 2019 23:21:54 +0100
Amadeusz Sławiński <address@hidden> 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 do 1024 poll() calls instead of 1048576 close().
> 
> Bug: 55618
> 
> Signed-off-by: Amadeusz Sławiński <address@hidden>

No comments, so pushed to master



reply via email to

[Prev in Thread] Current Thread [Next in Thread]