This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libc/10353] Methods for deleting all file descriptors greater than given integer


https://sourceware.org/bugzilla/show_bug.cgi?id=10353

--- Comment #9 from Dima Pasechnik <dimpase at gmail dot com> ---
The cpython problem with its current implementation is bad performance on
systems with large sysconf(_SC_OPEN_MAX) value (e.g. it's much bigger on
FreeBSD than it's on Linux). We actually plan to do a cpython PR which would
replace the loop with a call to closefrom() -- for systems where it's
available.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]