Page MenuHomeFreeBSD

arm64/riscv pmap: Initialize the pmap's pm_pvchunk field
ClosedPublic

Authored by alc on Jul 20 2023, 5:29 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Jun 6, 9:06 AM
Unknown Object (File)
May 12 2025, 6:48 PM
Unknown Object (File)
May 7 2025, 11:48 AM
Unknown Object (File)
Mar 15 2025, 1:40 AM
Unknown Object (File)
Mar 13 2025, 5:47 PM
Unknown Object (File)
Feb 16 2025, 12:51 AM
Unknown Object (File)
Feb 9 2025, 4:46 PM
Unknown Object (File)
Feb 9 2025, 4:36 PM
Subscribers

Details

Summary

From reading the code, I believe that the reasons that the missing TAILQ_INIT()s haven't caused a problem are two-fold: The first field is being initialized to zeroes elsewhere, and the first access to the last field is by TAILQ_INSERT_HEAD(), which sets it because the first field is NULL.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable