bug#59321: ice-9's open-input-pipe is unexpectedly slow on some systems

2022-12-08 Thread Andrew Whatson
Ludovic Courtès wrote: > > Andrew Whatson skribis: > > > We also need equivalent functionality around SOCK_CLOEXEC. It seems > > this is implemented for ‘accept’, but not ‘socket’ or ‘socketpair’. > > It’s possible to use SOCK_CLOEXEC with ‘socket’ and ‘socketpair’ > already, as in: > > (socke

bug#59321: ice-9's open-input-pipe is unexpectedly slow on some systems

2022-12-08 Thread Ludovic Courtès
Hi, Andrew Whatson skribis: > Playing with the wip-posix-spawn branch, it has the same slowdown > (actually a bit worse). I've updated the "/proc/self/fd" fast-path > patch for posix_spawn, please find attached. Ooh that’s perfect, thank you. I’ll apply it once we’ve sorted out remaining issu