From: Antonio Huete Jimenez Date: Fri, 15 Jan 2010 23:10:03 +0000 (+0100) Subject: kmalloc(9) - Document M_INTWAIT flag. X-Git-Tag: v2.7.1~229^2~102 X-Git-Url: https://gitweb.dragonflybsd.org/dragonfly.git/commitdiff_plain/2c9ef91193a40203db62853c8792ef509bc1696d kmalloc(9) - Document M_INTWAIT flag. Dragonfly-bug: Reported-by: Michael Neumann Submitted-by: Matthew Dillon --- diff --git a/share/man/man9/kmalloc.9 b/share/man/man9/kmalloc.9 index 1d9f12ce02..57ddc16b41 100644 --- a/share/man/man9/kmalloc.9 +++ b/share/man/man9/kmalloc.9 @@ -37,7 +37,7 @@ .\" $FreeBSD: src/share/man/man9/malloc.9,v 1.42 2005/02/22 17:20:20 brueffer Exp $ .\" $DragonFly: src/share/man/man9/kmalloc.9,v 1.8 2008/01/19 08:23:17 swildner Exp $ .\" -.Dd June 12, 2003 +.Dd January 15, 2010 .Dt KMALLOC 9 .Os .Sh NAME @@ -162,6 +162,14 @@ functions cannot return if .Dv M_WAITOK is specified. +.It Dv M_INTWAIT +Indicates +.Fn kmalloc +to dig into the system's reserved free pages looking for enough room to +perform the allocation. +This is typically used in interrupts where you cannot afford +.Fn kmalloc +to fail. .It Dv M_USE_RESERVE Indicates that the system can dig into its reserve in order to obtain the requested memory.