diff options
author | Alan Cox <alc@FreeBSD.org> | 2023-07-16 20:58:04 +0000 |
---|---|---|
committer | Alan Cox <alc@FreeBSD.org> | 2023-07-22 04:58:18 +0000 |
commit | 29edff0dea0f7a2df710dd649d0cbcd4a2da3692 (patch) | |
tree | db0486382c54424ad2f2acc48ed0e019792eeaf9 /usr.bin/talk | |
parent | 5d3c982549278c72d59debae7227366453d3c4a8 (diff) | |
download | src-29edff0dea0f7a2df710dd649d0cbcd4a2da3692.tar.gz src-29edff0dea0f7a2df710dd649d0cbcd4a2da3692.zip |
arm64/riscv pmap: Initialize the pmap's pm_pvchunk field
I believe that there are two reasons that the missing TAILQ
initialization operations haven't caused a problem. First, the TAILQ
head's first field is being initialized to zeroes elsewhere. Second,
the first access to the TAILQ head's last field is by
TAILQ_INSERT_HEAD(), which assigns to the last field without reading
it when the first field is NULL.
Reviewed by: kib, markj
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D41118
Diffstat (limited to 'usr.bin/talk')
0 files changed, 0 insertions, 0 deletions