diff options
author | des <des@FreeBSD.org> | 2004-02-16 18:46:16 +0000 |
---|---|---|
committer | des <des@FreeBSD.org> | 2004-02-16 18:46:16 +0000 |
commit | b5f599aa9ca636d4b9314a80c33fee7e8cf7ff6b (patch) | |
tree | 36425be151571a927039bcddc7751c45945d39e1 | |
parent | 26a38784fb7d90db25da73ed8d287d555ca55d3a (diff) | |
download | FreeBSD-src-b5f599aa9ca636d4b9314a80c33fee7e8cf7ff6b.zip FreeBSD-src-b5f599aa9ca636d4b9314a80c33fee7e8cf7ff6b.tar.gz |
Document the change in M_WAITOK semantics.
-rw-r--r-- | share/man/man9/malloc.9 | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/share/man/man9/malloc.9 b/share/man/man9/malloc.9 index fea6396d..a6dd849 100644 --- a/share/man/man9/malloc.9 +++ b/share/man/man9/malloc.9 @@ -164,16 +164,17 @@ is required when running in an interrupt context. Indicates that it is OK to wait for resources. If the request cannot be immediately fulfilled, the current process is put to sleep to wait for resources to be released by other processes. -The +When +.Dv M_WAITOK +is specified, the .Fn malloc , .Fn realloc , and .Fn reallocf -functions cannot return +cannot return .Dv NULL -if -.Dv M_WAITOK -is specified. +unless the requested allocation size is too large for the kernel +memory map. .It Dv M_USE_RESERVE Indicates that the system can dig into its reserve in order to obtain the requested memory. |