From 23a80de1aec78d238d06caf311eaceb81dd5a440 Mon Sep 17 00:00:00 2001 From: Stan Studzinski Date: Tue, 13 Apr 2010 11:03:56 -0700 Subject: 6675738 KM_NOSLEEP may still try too hard for some allocations --- usr/src/uts/common/sys/kmem.h | 1 + 1 file changed, 1 insertion(+) (limited to 'usr/src/uts/common/sys/kmem.h') diff --git a/usr/src/uts/common/sys/kmem.h b/usr/src/uts/common/sys/kmem.h index 009e4e5981..3a37f63fa2 100644 --- a/usr/src/uts/common/sys/kmem.h +++ b/usr/src/uts/common/sys/kmem.h @@ -45,6 +45,7 @@ extern "C" { #define KM_NOSLEEP 0x0001 /* cannot block for memory; may fail */ #define KM_PANIC 0x0002 /* if memory cannot be allocated, panic */ #define KM_PUSHPAGE 0x0004 /* can block for memory; may use reserve */ +#define KM_NORMALPRI 0x0008 /* with KM_NOSLEEP, lower priority allocation */ #define KM_VMFLAGS 0x00ff /* flags that must match VM_* flags */ #define KM_FLAGS 0xffff /* all settable kmem flags */ -- cgit v1.2.3