Several vm_radix tries are not initialized with vm_radix_init. That works, for now, since static initialization zeroes the root field anyway, but if initialization changes, these tries will fail. Add missing initializer calls.
Details
Details
Diff Detail
Diff Detail
- Lint
Lint Skipped - Unit
Tests Skipped
Event Timeline
sys/vm/vm_object.c | ||
---|---|---|
296 | If this were an ordinary object, then this would happen before the call to _vm_object_allocate(). |
sys/arm64/arm64/pmap.c | ||
---|---|---|
1290–1299 | Ugh, in reviewing this, I observed that neither arm64 nor riscv ever TAILQ_INIT() the pm_pvchunk field. I believe that the only reason that they don't crash is that their first operations on the field are TAILQ_FIRST() and TAILQ_INSERT_HEAD(). |