]> git.proxmox.com Git - mirror_spl.git/commit
Add KMC_NOEMERGENCY slab flag
authorBrian Behlendorf <behlendorf1@llnl.gov>
Fri, 7 Sep 2012 21:24:17 +0000 (14:24 -0700)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Fri, 7 Sep 2012 21:27:03 +0000 (14:27 -0700)
commitcb5c2acebb86da5b50f099b39209d22845eda8c7
treee4452589d3accd24b4664b33f227ab59bba7f5f1
parentac8ca67a88bdb8be08456785116a8824fba735df
Add KMC_NOEMERGENCY slab flag

Provide a flag to disable the use of emergency objects for a
specific kmem cache.  There may be instances where under no
circumstances should you kmalloc() an emergency object.  For
example, when you cache contains very large objects (>128k).

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
include/sys/kmem.h
module/spl/spl-kmem.c