Re: [PATCH] net: tap: Drop the close of fds for child process

2023-04-18 Thread Daniel P . Berrangé
On Thu, Apr 06, 2023 at 07:20:41PM +0800, Bin Meng wrote: > Current codes using a brute-force traversal of all file descriptors > do not scale on a system where the maximum number of file descriptors > are set to a very large value (e.g.: in a Docker container of Manjaro > distribution it is set to

Re: [PATCH] net: tap: Drop the close of fds for child process

2023-04-06 Thread Bin Meng
On Thu, Apr 6, 2023 at 8:34 PM Philippe Mathieu-Daudé wrote: > > On 6/4/23 13:20, Bin Meng wrote: > > Current codes using a brute-force traversal of all file descriptors > > do not scale on a system where the maximum number of file descriptors > > are set to a very large value (e.g.: in a Docker c

Re: [PATCH] net: tap: Drop the close of fds for child process

2023-04-06 Thread Philippe Mathieu-Daudé
On 6/4/23 13:20, Bin Meng wrote: Current codes using a brute-force traversal of all file descriptors do not scale on a system where the maximum number of file descriptors are set to a very large value (e.g.: in a Docker container of Manjaro distribution it is set to 1073741816). QEMU just looks f