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
F153738332: D41118.diff
Thu, Apr 23, 8:14 AM
Unknown Object (File)
Tue, Apr 21, 1:10 AM
Unknown Object (File)
Mon, Apr 20, 5:03 PM
Unknown Object (File)
Mar 23 2026, 2:48 AM
Unknown Object (File)
Mar 22 2026, 3:46 AM
Unknown Object (File)
Feb 7 2026, 4:24 PM
Unknown Object (File)
Jan 25 2026, 4:10 AM
Unknown Object (File)
Jan 24 2026, 4:16 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