diff options
author | Stan Studzinski <Stan.Studzinski@Sun.COM> | 2010-04-13 11:03:56 -0700 |
---|---|---|
committer | Stan Studzinski <Stan.Studzinski@Sun.COM> | 2010-04-13 11:03:56 -0700 |
commit | 23a80de1aec78d238d06caf311eaceb81dd5a440 (patch) | |
tree | 0b52be831a38566af69b540ddc88de0ea39c683b /usr/src/uts/common/sys/kmem.h | |
parent | bf994817a71d4ac680198e25fe79d13c247306e0 (diff) | |
download | illumos-joyent-23a80de1aec78d238d06caf311eaceb81dd5a440.tar.gz |
6675738 KM_NOSLEEP may still try too hard for some allocations
Diffstat (limited to 'usr/src/uts/common/sys/kmem.h')
-rw-r--r-- | usr/src/uts/common/sys/kmem.h | 1 |
1 files changed, 1 insertions, 0 deletions
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 */ |