equal
deleted
inserted
replaced
43 |
43 |
44 #define KM_SLEEP 0x0000 /* can block for memory; success guaranteed */ |
44 #define KM_SLEEP 0x0000 /* can block for memory; success guaranteed */ |
45 #define KM_NOSLEEP 0x0001 /* cannot block for memory; may fail */ |
45 #define KM_NOSLEEP 0x0001 /* cannot block for memory; may fail */ |
46 #define KM_PANIC 0x0002 /* if memory cannot be allocated, panic */ |
46 #define KM_PANIC 0x0002 /* if memory cannot be allocated, panic */ |
47 #define KM_PUSHPAGE 0x0004 /* can block for memory; may use reserve */ |
47 #define KM_PUSHPAGE 0x0004 /* can block for memory; may use reserve */ |
|
48 #define KM_NORMALPRI 0x0008 /* with KM_NOSLEEP, lower priority allocation */ |
48 #define KM_VMFLAGS 0x00ff /* flags that must match VM_* flags */ |
49 #define KM_VMFLAGS 0x00ff /* flags that must match VM_* flags */ |
49 |
50 |
50 #define KM_FLAGS 0xffff /* all settable kmem flags */ |
51 #define KM_FLAGS 0xffff /* all settable kmem flags */ |
51 |
52 |
52 #ifdef _KERNEL |
53 #ifdef _KERNEL |