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
F168079095: D41118.id.diff
Wed, Aug 26, 6:58 AM
F168078703: D41118.id125020.diff
Wed, Aug 26, 6:56 AM
F168063065: D41118.diff
Wed, Aug 26, 5:04 AM
Unknown Object (File)
Sat, Aug 22, 5:53 AM
Unknown Object (File)
Tue, Aug 18, 9:37 PM
Unknown Object (File)
Tue, Aug 18, 9:58 AM
Unknown Object (File)
Tue, Aug 18, 9:57 AM
Unknown Object (File)
Jul 25 2026, 3:57 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