diff options
author | pav <pav@FreeBSD.org> | 2006-08-25 19:04:42 +0000 |
---|---|---|
committer | pav <pav@FreeBSD.org> | 2006-08-25 19:04:42 +0000 |
commit | f58a78e801fb452f79af3fc4805e2645addcce91 (patch) | |
tree | f87656832c800d18af7e6a7affe5cec1a9e6db7a /share | |
parent | 06408c929fc812d686ff793fcca3527b7e927220 (diff) | |
download | FreeBSD-src-f58a78e801fb452f79af3fc4805e2645addcce91.zip FreeBSD-src-f58a78e801fb452f79af3fc4805e2645addcce91.tar.gz |
- Talk about memory allocation in interrupt context
- Add uam to see also
Submitted by: Devon H. O'Dell <devon.odell@coyotepoint.com>
Diffstat (limited to 'share')
-rw-r--r-- | share/man/man9/ithread.9 | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/share/man/man9/ithread.9 b/share/man/man9/ithread.9 index 9ad0dff..498c51a 100644 --- a/share/man/man9/ithread.9 +++ b/share/man/man9/ithread.9 @@ -24,7 +24,7 @@ .\" .\" $FreeBSD$ .\" -.Dd February 10, 2001 +.Dd August 25, 2006 .Dt ITHREAD 9 .Os .Sh NAME @@ -202,6 +202,12 @@ Presently, the and .Dv INTR_ENTROPY flags are not valid for software interrupt handlers. +.Pp +It is not permitted to sleep in an interrupt thread; hence, any memory +or zone allocations in an interrupt thread should be specified with the +.Dv M_NOWAIT +flag set. +Any allocation errors must be handled thereafter. .Sh RETURN VALUES The .Fn ithread_add_handler , @@ -340,7 +346,9 @@ has no interrupt handlers. .El .Sh SEE ALSO .Xr kthread 9 , -.Xr swi 9 +.Xr malloc 9 , +.Xr swi 9 , +.Xr uma 9 .Sh HISTORY Interrupt threads and their corresponding API first appeared in .Fx 5.0 . |