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
F170578573: D41118.id.diff
Sat, Sep 5, 12:05 PM
F170575647: D41118.id124924.diff
Sat, Sep 5, 11:44 AM
F170507396: D41118.id125020.diff
Sat, Sep 5, 3:51 AM
F170450596: D41118.id125020.diff
Fri, Sep 4, 9:35 PM
Unknown Object (File)
Thu, Sep 3, 8:51 PM
Unknown Object (File)
Thu, Sep 3, 3:34 AM
Unknown Object (File)
Wed, Sep 2, 2:49 PM
Unknown Object (File)
Wed, Sep 2, 8:40 AM
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