diff options
author | Dag-Erling Smørgrav <des@FreeBSD.org> | 2004-02-16 18:46:16 +0000 |
---|---|---|
committer | Dag-Erling Smørgrav <des@FreeBSD.org> | 2004-02-16 18:46:16 +0000 |
commit | 6f29aba23f6561deafad15c7b90d7b25003f61f1 (patch) | |
tree | 36425be151571a927039bcddc7751c45945d39e1 /share | |
parent | cbea5fb98f74c04bdb5e2fc33cd9af24fca5007e (diff) | |
download | src-6f29aba23f6561deafad15c7b90d7b25003f61f1.tar.gz src-6f29aba23f6561deafad15c7b90d7b25003f61f1.zip |
Document the change in M_WAITOK semantics.
Notes
Notes:
svn path=/head/; revision=125883
Diffstat (limited to 'share')
-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 fea6396dd0d9..a6dd849e66f9 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. |