Skip to content

Commit 54d55f2

Browse files
santigimenoaduh95
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 bfb3c62 commit 54d55f2

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
@@ -3467,23 +3467,6 @@ threadpool by setting the `'UV_THREADPOOL_SIZE'` environment variable to a value
34673467
greater than `4` (its current default value). For more information, see the
34683468
[libuv threadpool documentation][].
34693469

3470-
### `UV_USE_IO_URING=value`
3471-
3472-
Enable or disable libuv's use of `io_uring` on supported platforms.
3473-
3474-
On supported platforms, `io_uring` can significantly improve the performance of
3475-
various asynchronous I/O operations.
3476-
3477-
`io_uring` is disabled by default due to security concerns. When `io_uring`
3478-
is enabled, applications must not change the user identity of the process at
3479-
runtime. In this case, JavaScript functions such as [`process.setuid()`][] are
3480-
unavailable, and native addons must not invoke system functions such as
3481-
[`setuid(2)`][].
3482-
3483-
This environment variable is implemented by a dependency of Node.js and may be
3484-
removed in future versions of Node.js. No stability guarantees are provided for
3485-
the behavior of this environment variable.
3486-
34873470
## Useful V8 options
34883471

34893472
V8 has its own set of CLI options. Any V8 CLI option that is provided to `node`
@@ -3644,8 +3627,6 @@ node --stack-trace-limit=12 -p -e "Error.stackTraceLimit" # prints 12
36443627
[`net.getDefaultAutoSelectFamilyAttemptTimeout()`]: net.md#netgetdefaultautoselectfamilyattempttimeout
36453628
[`node:sqlite`]: sqlite.md
36463629
[`process.setUncaughtExceptionCaptureCallback()`]: process.md#processsetuncaughtexceptioncapturecallbackfn
3647-
[`process.setuid()`]: process.md#processsetuidid
3648-
[`setuid(2)`]: https://man7.org/linux/man-pages/man2/setuid.2.html
36493630
[`tls.DEFAULT_MAX_VERSION`]: tls.md#tlsdefault_max_version
36503631
[`tls.DEFAULT_MIN_VERSION`]: tls.md#tlsdefault_min_version
36513632
[`unhandledRejection`]: process.md#event-unhandledrejection

0 commit comments

Comments
 (0)