]> git.proxmox.com Git - mirror_spl-debian.git/commit
Reduce max kmem based slab size
authorBrian Behlendorf <behlendorf1@llnl.gov>
Thu, 18 Mar 2010 20:39:51 +0000 (13:39 -0700)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Thu, 18 Mar 2010 20:39:51 +0000 (13:39 -0700)
commitaa600d8a3843755be1dd621ecd00401f26f3bb49
tree4b4c08f79ae299f1b1b462a39f3de5e4884d300b
parentc5c3d402f7109e37eeee54cd69d15c8d6cabf5d6
Reduce max kmem based slab size

Allowing MAX_ORDER-1 sized allocations for kmem based slabs have
been observed to result in deadlocks.  To help prvent this limit
max kmem based slab size to MAX_ORDER-3.  Just for the record
callers should not be creating slabs like this, but if they do
we should still handle it as safely as we can.
module/spl/spl-kmem.c