diff options
author | Jinshan Xiong <[email protected]> | 2016-05-19 10:59:40 -0700 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2016-06-01 10:26:42 -0700 |
commit | 16fc1ec3ba0438b1d657b421923b3969031f2678 (patch) | |
tree | 737b9b2c9196b9a6631848e83725469ca40ac9b5 /include | |
parent | ea5f1a200b974c8fdd51993c282d8ae0dc2aa871 (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')
0 files changed, 0 insertions, 0 deletions