summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorYing Zhu <[email protected]>2013-06-29 15:03:49 +0800
committerBrian Behlendorf <[email protected]>2013-07-09 11:53:28 -0700
commitb4f7f105275d996fbcb6abd65760307d2153a89b (patch)
tree4f3c05d269ebd8f97b844207de648804175bd182 /include
parent8e07b99b2f5e1e281af72e07dee87301c8872f56 (diff)
Improve code in arc_buf_remove_ref
When we remove references of arc bufs in the arc_anon state we needn't take its header's hash_lock, so postpone it to where we really need it to avoid unnecessary invocations of function buf_hash. Signed-off-by: Ying Zhu <[email protected]> Signed-off-by: Brian Behlendorf <[email protected]> Closes #1557
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions