libuv/docs/src
Tim Besard 6ad347fae4
unix: constrained_memory should return UINT64_MAX (#3753)
Document that we return UINT64_MAX if the cgroup limit is set to the
max. For cgroupv2, that happens if we encounter `max`, while cgroupv1
returns 9223372036854771712 when no limit is set (which according to
[this StackExchange discussion] is derived from LONG_MAX and
PAGE_SIZE). So make sure we also detect this case for cgroupv1.

[this StackExchange discussion]: https://unix.stackexchange.com/questions/420906/what-is-the-value-for-the-cgroups-limit-in-bytes-if-the-memory-is-not-restricte

Addresses: https://github.com/libuv/libuv/pull/3744/files#r974062912
2023-05-12 14:34:20 -04:00
..
guide docs: fix some typos (#3984) 2023-05-12 14:12:01 -04:00
sphinx-plugins doc: fix most sphinx warnings 2020-08-18 13:07:04 -04:00
static win,unix: change execution order of timers (#3927) 2023-03-20 10:04:57 -06:00
api.rst core: add API to measure event loop idle time 2020-08-04 10:31:42 -04:00
async.rst doc: fix most sphinx warnings 2020-08-18 13:07:04 -04:00
check.rst doc: check/idle/prepare functions always succeed 2020-04-28 20:06:55 +02:00
conf.py core: move all include files except uv.h to uv/ 2018-06-14 18:39:32 +02:00
design.rst win,unix: change execution order of timers (#3927) 2023-03-20 10:04:57 -06:00
dll.rst doc: add uv_dlsym() return type 2015-09-02 09:58:55 +02:00
dns.rst doc: document uv_getnameinfo_t.{host|service} 2015-03-02 16:53:57 +01:00
errors.rst errors: map ESOCKTNOSUPPORT errno 2021-05-21 16:34:31 -04:00
fs_event.rst docs: fix linkcheck 2020-01-08 11:51:04 -05:00
fs_poll.rst docs: improve UV_ENOBUFS scenario documentation 2017-03-08 20:55:40 -05:00
fs.rst unix,win: add uv_clock_gettime() (#3971) 2023-04-27 22:13:46 +02:00
guide.rst doc: add warning note to user guide 2017-04-28 11:15:53 +02:00
handle.rst doc: mention close_cb can be NULL (#3810) 2022-11-08 09:57:54 +01:00
idle.rst doc: check/idle/prepare functions always succeed 2020-04-28 20:06:55 +02:00
index.rst doc: replace pyuv with uvloop (#3324) 2021-10-10 00:56:50 +02:00
loop.rst doc: add uv_metrics_idle_time() version metadata 2020-09-03 11:08:10 -04:00
metrics.rst src: add new metrics APIs (#3749) 2022-11-11 16:21:58 +01:00
migration_010_100.rst doc: fix spelling 2014-11-29 04:22:56 +01:00
misc.rst unix: constrained_memory should return UINT64_MAX (#3753) 2023-05-12 14:34:20 -04:00
pipe.rst doc: fix versionadded metadata 2021-01-04 22:04:25 -05:00
poll.rst doc: add uv_poll_cb status==UV_EBADF note (#3797) 2022-10-21 11:02:43 +02:00
prepare.rst doc: check/idle/prepare functions always succeed 2020-04-28 20:06:55 +02:00
process.rst document the values of enum uv_stdio_flags (#3039) 2022-02-14 11:37:19 -05:00
request.rst doc: fix most sphinx warnings 2020-08-18 13:07:04 -04:00
signal.rst win, tty: improve SIGWINCH performance 2019-09-05 11:36:02 +02:00
stream.rst doc: more accurate list of valid send_handle's 2021-06-18 23:38:03 -04:00
tcp.rst doc: fix versionadded metadata 2021-01-04 22:04:25 -05:00
threading.rst thread: add uv_thread_getcpu() (#3803) 2022-11-15 18:01:29 +01:00
threadpool.rst unix,win: give thread pool threads an 8 MB stack (#3787) 2022-10-18 23:06:47 +02:00
timer.rst unix,win: add uv_timer_get_due_in() 2020-09-21 22:15:46 -04:00
tty.rst doc: fix most sphinx warnings 2020-08-18 13:07:04 -04:00
udp.rst docs: fix some typos (#3984) 2023-05-12 14:12:01 -04:00
upgrading.rst doc: move "upgrading" to a standalone document 2017-04-28 11:15:04 +02:00
version.rst docs: fix linkcheck 2020-01-08 11:51:04 -05:00