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)
Thu, Oct 9, 1:28 AM
Unknown Object (File)
Fri, Oct 3, 3:41 PM
Unknown Object (File)
Sun, Sep 21, 7:11 AM
Unknown Object (File)
Sep 2 2025, 7:51 AM
Unknown Object (File)
Sep 2 2025, 12:29 AM
Unknown Object (File)
Aug 24 2025, 5:05 AM
Unknown Object (File)
Jul 27 2025, 4:11 AM
Unknown Object (File)
Jul 6 2025, 9:59 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