aboutsummaryrefslogtreecommitdiff
path: root/share/man/man9/malloc.9
diff options
context:
space:
mode:
authorAlfred Perlstein <alfred@FreeBSD.org>2003-01-21 08:57:35 +0000
committerAlfred Perlstein <alfred@FreeBSD.org>2003-01-21 08:57:35 +0000
commit2a62ffb72d62b860c05caa5d42b1323011b09204 (patch)
treeb93e78622a6eb0a254625e1c23a7416d78cc96a9 /share/man/man9/malloc.9
parent44956c9863dc03344b03bdf6a83acf4e743f8e50 (diff)
downloadsrc-2a62ffb72d62b860c05caa5d42b1323011b09204.tar.gz
src-2a62ffb72d62b860c05caa5d42b1323011b09204.zip
Catch up to WAIT/NOWAIT cleanup.
Notes
Notes: svn path=/head/; revision=109624
Diffstat (limited to 'share/man/man9/malloc.9')
-rw-r--r--share/man/man9/malloc.919
1 files changed, 0 insertions, 19 deletions
diff --git a/share/man/man9/malloc.9 b/share/man/man9/malloc.9
index 3e19e9930db7..5626529319dd 100644
--- a/share/man/man9/malloc.9
+++ b/share/man/man9/malloc.9
@@ -154,27 +154,8 @@ will return
.Dv NULL
rather than block.
Note that
-.Dv M_WAITOK
-is defined to be 0, meaning that blocking operation is the default.
-Also note that
.Dv M_NOWAIT
is required when running in an interrupt context.
-.Pp
-Programmers should be careful not to confuse
-.Dv M_NOWAIT ,
-the
-.Fn malloc
-flag, with
-.Dv M_DONTWAIT ,
-an
-.Xr mbuf 9
-allocation flag, which is not a valid argument to
-.Fn malloc .
-.It Dv M_WAITOK
-Indicates that it is Ok to wait for resources. It is unconveniently
-defined as 0 so care should be taken never to compare against this value
-directly or try to AND it as a flag. The default operation is to block
-until the memory allocation succeeds.
.Fn malloc ,
.Fn realloc ,
and