aboutsummaryrefslogtreecommitdiffstats
path: root/include/sys/ddi.h
diff options
context:
space:
mode:
authorJinshan Xiong <[email protected]>2016-05-19 10:59:40 -0700
committerBrian Behlendorf <[email protected]>2016-06-01 10:26:42 -0700
commit16fc1ec3ba0438b1d657b421923b3969031f2678 (patch)
tree737b9b2c9196b9a6631848e83725469ca40ac9b5 /include/sys/ddi.h
parentea5f1a200b974c8fdd51993c282d8ae0dc2aa871 (diff)
Improve spl slab cache alloc
The policy is to try to allocate with KM_NOSLEEP, which will lead to memory allocation with GFP_ATOMIC, and if it fails, it will launch an taskq to expand slab space. This way it should be able to get better NUMA memory locality and reduce the overhead of context switch. Signed-off-by: Jinshan Xiong <[email protected]> Signed-off-by: Brian Behlendorf <[email protected]> Closes #551
Diffstat (limited to 'include/sys/ddi.h')
0 files changed, 0 insertions, 0 deletions