aboutsummaryrefslogtreecommitdiff
path: root/sys/cddl
diff options
context:
space:
mode:
authorMateusz Guzik <mjg@FreeBSD.org>2020-08-05 09:25:59 +0000
committerMateusz Guzik <mjg@FreeBSD.org>2020-08-05 09:25:59 +0000
commit2b86f9d6d013a9ad8b1f8d03286018e785d5b3f6 (patch)
tree022fd993f790af6684e062106026bd9fde8309c9 /sys/cddl
parentcf8ac0de81506bd040b64f4c5fbe96c3109f802b (diff)
downloadsrc-2b86f9d6d013a9ad8b1f8d03286018e785d5b3f6.tar.gz
src-2b86f9d6d013a9ad8b1f8d03286018e785d5b3f6.zip
cache: convert the hash from LIST to SLIST
This reduces struct namecache by sizeof(void *). Negative side is that we have to find the previous element (if any) when removing an entry, but since we normally don't expect collisions it should be fine. Note this adds cache_get_hash calls which can be eliminated.
Notes
Notes: svn path=/head/; revision=363892
Diffstat (limited to 'sys/cddl')
0 files changed, 0 insertions, 0 deletions