summaryrefslogtreecommitdiff
path: root/usr/src/uts/common/sys/kmem.h
diff options
context:
space:
mode:
authorStan Studzinski <Stan.Studzinski@Sun.COM>2010-04-13 11:03:56 -0700
committerStan Studzinski <Stan.Studzinski@Sun.COM>2010-04-13 11:03:56 -0700
commit23a80de1aec78d238d06caf311eaceb81dd5a440 (patch)
tree0b52be831a38566af69b540ddc88de0ea39c683b /usr/src/uts/common/sys/kmem.h
parentbf994817a71d4ac680198e25fe79d13c247306e0 (diff)
downloadillumos-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.h1
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 */