This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/10353] Methods for deleting all file descriptors greater than given integer
- From: "dimpase at gmail dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Fri, 12 Apr 2019 21:35:32 +0000
- Subject: [Bug libc/10353] Methods for deleting all file descriptors greater than given integer
- Auto-submitted: auto-generated
- References: <bug-10353-131@http.sourceware.org/bugzilla/>
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.