This patch introduces the MINIDUMP_STARTUP_PAGE_TRACKING symbol and uses it to simplify several instances of a complex check for adding startup pages to minidumps.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
Comment Actions
Thanks for this. Seems good to me, with one question inline.
Edit: you missed the update of vmparam.h for 32-bit arm.
sys/vm/vm_page.c | ||
---|---|---|
623 | Why is this condition different than the others? |
sys/vm/vm_page.c | ||
---|---|---|
623 | I wanted to avoid adding another #if MINIDUMP_PAGE_TRACKING && MINIDUMP_STARTUP_PAGE_TRACKING, so I've moved the #if MINIDUMP_STARTUP_PAGE_TRACKING block under the MINIDUMP_PAGE_TRACKING block defined on line 598. The condition is still the same, but less verbose. |
sys/vm/vm_page.c | ||
---|---|---|
623 | Thanks, I see now. |