I added a fail point to get_pv_entry(), causing it to fail to allocate
a page 33% of the time and resort to pv_chunk reclamation.
Without the patch I can reproduce the bug (which manifests
as a panic due to tailq corruption).
Details
Details
- Reviewers
manu alc kib andrew - Commits
- rS336460: Port r324665 and r325285 to arm64.
Diff Detail
Diff Detail
- Lint
Lint Passed - Unit
No Test Coverage - Build Status
Buildable 18133 Build 17868: arc lint + arc unit
Event Timeline
sys/arm64/arm64/pmap.c | ||
---|---|---|
1874 | Could you please swap the pmap and next_pmap definitions so that this line is identical to the amd64 version and the diff between the two is smaller. |
sys/arm64/arm64/pmap.c | ||
---|---|---|
2040–2044 | The difference comes from the fact that _pmap_unwire_l3() adjusts v_wire_count, while _pmap_unwire_ptp() does not. I think the code here is correct, but it would be nice to resolve that discrepancy in a future revision. |