aboutsummaryrefslogtreecommitdiff
path: root/sys/kern/subr_acl_posix1e.c
diff options
context:
space:
mode:
authorPeter Wemm <peter@FreeBSD.org>2001-03-20 02:10:18 +0000
committerPeter Wemm <peter@FreeBSD.org>2001-03-20 02:10:18 +0000
commit439fea92c22f61bfe1a17617da6fbaf969063640 (patch)
tree83cc20359e6f55ec2e9348003e788ee00688fb9e /sys/kern/subr_acl_posix1e.c
parente0fbb1d2de5da5201d80ec05cf2aee2d90e3f1b0 (diff)
downloadsrc-439fea92c22f61bfe1a17617da6fbaf969063640.tar.gz
src-439fea92c22f61bfe1a17617da6fbaf969063640.zip
Use the same API as the example code.
Allow the initial hash value to be passed in, as the examples do. Incrementally hash in the dvp->v_id (using the official api) rather than add it. This seems to help power-of-two predictable filename trees where the filenames repeat on a power-of-two cycle and the directory trees have power-of-two components in it. The simple add then mask was causing things like 12000+ entry collision chains while most other entries have between 0 and 3 entries each. This way seems to improve things.
Notes
Notes: svn path=/head/; revision=74501
Diffstat (limited to 'sys/kern/subr_acl_posix1e.c')
0 files changed, 0 insertions, 0 deletions