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)
Sun, Jan 25, 4:10 AM
Unknown Object (File)
Sat, Jan 24, 4:16 PM
Unknown Object (File)
Tue, Jan 6, 12:26 AM
Unknown Object (File)
Dec 26 2025, 4:10 AM
Unknown Object (File)
Dec 5 2025, 4:17 AM
Unknown Object (File)
Nov 29 2025, 12:37 PM
Unknown Object (File)
Nov 25 2025, 8:59 PM
Unknown Object (File)
Nov 18 2025, 12:26 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