diff options
author | Mateusz Guzik <mjg@FreeBSD.org> | 2020-08-05 09:25:59 +0000 |
---|---|---|
committer | Mateusz Guzik <mjg@FreeBSD.org> | 2020-08-05 09:25:59 +0000 |
commit | 2b86f9d6d013a9ad8b1f8d03286018e785d5b3f6 (patch) | |
tree | 022fd993f790af6684e062106026bd9fde8309c9 /sys/cddl | |
parent | cf8ac0de81506bd040b64f4c5fbe96c3109f802b (diff) | |
download | src-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