summaryrefslogtreecommitdiff
path: root/pfinet/glue-include
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2012-12-27 00:00:57 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2012-12-27 00:00:57 +0100
commit03be85eb11f756414aafedca22f93a3351b727b8 (patch)
tree8657bee4e525bdc1f8fe640d44055dcca8857dc2 /pfinet/glue-include
parent07440b75bcbd20056c11f2375d3aa765788af034 (diff)
Optimise dir-lookup's second-lock
This should avoid some lock contention. * libdiskfs/dir-lookup.c (diskfs_S_dir_lookup): Before releasing &np->lock to get &dnp->lock safely, try to lock &dnp->lock directly. * libtreefs/dir-lookup.c (_treefs_s_dir_lookup): Likewise.
Diffstat (limited to 'pfinet/glue-include')
0 files changed, 0 insertions, 0 deletions