forked from libuv/libuv
-
-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Due to libuv#4323
- Loading branch information
Showing
1 changed file
with
1 addition
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -472,16 +472,7 @@ static int uv__use_io_uring(void) { | |
use = atomic_load_explicit(&use_io_uring, memory_order_relaxed); | ||
|
||
if (use == 0) { | ||
use = uv__kernel_version() >= | ||
#if defined(__hppa__) | ||
/* io_uring first supported on parisc in 6.1, functional in .51 */ | ||
/* https://lore.kernel.org/all/[email protected]/ */ | ||
/* 6.1.51 */ 0x060133 | ||
#else | ||
/* Older kernels have a bug where the sqpoll thread uses 100% CPU. */ | ||
/* 5.10.186 */ 0x050ABA | ||
#endif | ||
? 1 : -1; | ||
use = -1; /* default disable uring usage due to https://github.com/libuv/libuv/issues/4323 */ | ||
|
||
/* But users can still enable it if they so desire. */ | ||
val = getenv("UV_USE_IO_URING"); | ||
|