cpu_machdep.9 was added to document cpu_*, but cpu_switch and cpu_throw were already documented in mi_switch.9, and MLINKed. cpu_machdep.9 seems like the correct place for this, so remove them from mi_switch.9. Reported by: tools/pkgbase/metalog_reader.lua Fixes: 9c87cbbcaaed ("cpu_machdep.9: New manpage describing the semantics of several cpu_*")
Details
Details
- Reviewers
jhb kib - Commits
- rGf73c9b5da190: mi_switch.9: Remove cpu_switch, cpu_throw
Diff Detail
Diff Detail
- Lint
Lint Skipped - Unit
Tests Skipped
Event Timeline
Comment Actions
Found via:
error: ./usr/share/man/man9/cpu_switch.9.gz exists in multiple locations and with different meta: line 27352,28023. off by "size" error: ./usr/share/man/man9/cpu_throw.9.gz exists in multiple locations and with different meta: line 27358,28024. off by "size"
Not sure if some of the text removed from here should be added to to cpu_machdep.9.
Comment Actions
The differences in cpu_throw are actually stale (we don't use it from thread_exit anymore). The fact that curthread and the current pmap are changed in cpu_switch probably is a detail worth carrying over to cpu_machdep(9).