From 2c9ef91193a40203db62853c8792ef509bc1696d Mon Sep 17 00:00:00 2001 From: Antonio Huete Jimenez Date: Sat, 16 Jan 2010 00:10:03 +0100 Subject: [PATCH] kmalloc(9) - Document M_INTWAIT flag. Dragonfly-bug: Reported-by: Michael Neumann Submitted-by: Matthew Dillon --- share/man/man9/kmalloc.9 | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) 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. -- 2.41.0