summaryrefslogtreecommitdiffstats
path: root/include/spl
diff options
context:
space:
mode:
authorRichard Yao <[email protected]>2019-08-13 09:46:12 -0400
committerBrian Behlendorf <[email protected]>2019-08-13 07:46:12 -0600
commitfccbd1d6e2e0a95511ad3e1c743b98bf31a6b6c9 (patch)
tree9ec8a7ac2c9f23f0970d995b5c22b9e8ccb32552 /include/spl
parent3b9edd7b171f510b0abb9c885aa5b77114b8169a (diff)
Drop KMC_NOEMERGENCY
This is not implemented. If it were implemented, using it would risk deadlocks on pre-3.18 kernels. Lets just drop it. Reviewed-by: Brian Behlendorf <[email protected]> Reviewed-by: Michael Niewöhner <[email protected]> Signed-off-by: Richard Yao <[email protected]> Closes #9119
Diffstat (limited to 'include/spl')
-rw-r--r--include/spl/sys/kmem_cache.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/spl/sys/kmem_cache.h b/include/spl/sys/kmem_cache.h
index 8fa14f67e..bb413207d 100644
--- a/include/spl/sys/kmem_cache.h
+++ b/include/spl/sys/kmem_cache.h
@@ -45,7 +45,6 @@ enum {
KMC_BIT_VMEM = 6, /* Use vmem cache */
KMC_BIT_SLAB = 7, /* Use Linux slab cache */
KMC_BIT_OFFSLAB = 8, /* Objects not on slab */
- KMC_BIT_NOEMERGENCY = 9, /* Disable emergency objects */
KMC_BIT_DEADLOCKED = 14, /* Deadlock detected */
KMC_BIT_GROWING = 15, /* Growing in progress */
KMC_BIT_REAPING = 16, /* Reaping in progress */
@@ -73,7 +72,6 @@ typedef enum kmem_cbrc {
#define KMC_VMEM (1 << KMC_BIT_VMEM)
#define KMC_SLAB (1 << KMC_BIT_SLAB)
#define KMC_OFFSLAB (1 << KMC_BIT_OFFSLAB)
-#define KMC_NOEMERGENCY (1 << KMC_BIT_NOEMERGENCY)
#define KMC_DEADLOCKED (1 << KMC_BIT_DEADLOCKED)
#define KMC_GROWING (1 << KMC_BIT_GROWING)
#define KMC_REAPING (1 << KMC_BIT_REAPING)