Skip to content

Commit 26861ea

Browse files
santigimenoruyadorno
authored andcommitted
Revert "deps: disable io_uring support in libuv by default"
This reverts commit 42e659c. PR-URL: #55114 Refs: https://github.com/libuv/libuv/releases/tag/v1.49.0 Refs: https://github.com/libuv/libuv/releases/tag/v1.49.1 Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
1 parent 41c50bc commit 26861ea

File tree

1 file changed

+0
-19
lines changed

1 file changed

+0
-19
lines changed

doc/api/cli.md

-19
Original file line numberDiff line numberDiff line change
@@ -3488,23 +3488,6 @@ threadpool by setting the `'UV_THREADPOOL_SIZE'` environment variable to a value
34883488
greater than `4` (its current default value). For more information, see the
34893489
[libuv threadpool documentation][].
34903490

3491-
### `UV_USE_IO_URING=value`
3492-
3493-
Enable or disable libuv's use of `io_uring` on supported platforms.
3494-
3495-
On supported platforms, `io_uring` can significantly improve the performance of
3496-
various asynchronous I/O operations.
3497-
3498-
`io_uring` is disabled by default due to security concerns. When `io_uring`
3499-
is enabled, applications must not change the user identity of the process at
3500-
runtime. In this case, JavaScript functions such as [`process.setuid()`][] are
3501-
unavailable, and native addons must not invoke system functions such as
3502-
[`setuid(2)`][].
3503-
3504-
This environment variable is implemented by a dependency of Node.js and may be
3505-
removed in future versions of Node.js. No stability guarantees are provided for
3506-
the behavior of this environment variable.
3507-
35083491
## Useful V8 options
35093492

35103493
V8 has its own set of CLI options. Any V8 CLI option that is provided to `node`
@@ -3671,8 +3654,6 @@ node --stack-trace-limit=12 -p -e "Error.stackTraceLimit" # prints 12
36713654
[`net.getDefaultAutoSelectFamilyAttemptTimeout()`]: net.md#netgetdefaultautoselectfamilyattempttimeout
36723655
[`node:sqlite`]: sqlite.md
36733656
[`process.setUncaughtExceptionCaptureCallback()`]: process.md#processsetuncaughtexceptioncapturecallbackfn
3674-
[`process.setuid()`]: process.md#processsetuidid
3675-
[`setuid(2)`]: https://man7.org/linux/man-pages/man2/setuid.2.html
36763657
[`tls.DEFAULT_MAX_VERSION`]: tls.md#tlsdefault_max_version
36773658
[`tls.DEFAULT_MIN_VERSION`]: tls.md#tlsdefault_min_version
36783659
[`unhandledRejection`]: process.md#event-unhandledrejection

0 commit comments

Comments
 (0)