screen-devel
[Top][All Lists]
Advanced

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

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


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

On Sat,  2 Nov 2019 23:21:40 +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 screen-v4



reply via email to

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