Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Turns out the kernel needs to handle blocking file descriptors differently, it needs to do thread-pooling and it's a different code path (also slower). It also seems that this is bugged in some cases. This makes sense as I believe most people don't test with blocking FDs. I believe we should make all our FDs non blocking as a precaution. There is a program listed in issue #319 that replicates this. I could hang it in < 5 seconds, and it's now running for 10minutes with the fix, so kaboom. A fix has been committed to mainline Linux (should be in Linux 6.1): torvalds/linux@46a525e
- Loading branch information