I'll change man pages if the proposal would be approved.
Details
Details
- Reviewers
jhb mav - Group Reviewers
manpages - Commits
- rS275751: Add _NEW flag to mtx(9), sx(9), rmlock(9) and rwlock(9).
fixex panic et_hw_mtx already initialized.
Diff Detail
Diff Detail
- Repository
- rS FreeBSD src repository - subversion
- Lint
Lint Skipped - Unit
Tests Skipped
Event Timeline
Comment Actions
Normally this is fixed by zero'ing the memory in question. That said, I've wanted a MTX_NEW for quite a while anyway. Please add the _NEW flags (along with man page updates) as a standalone commit from adding uses of them.
Comment Actions
The second and third man page changes are identical and the comments apply to them as well.
share/man/man9/mutex.9 | ||
---|---|---|
180 ↗ | (On Diff #2550) | s/kernel compiled/kernel has been compiled/ |
185 ↗ | (On Diff #2550) | Sorry, this does not make sense. Is it supposed to be: has not been initialized multiple times without intervening calls to |
187 ↗ | (On Diff #2550) | s/unless/unless the/ |
Comment Actions
The man pages look good to me. Please run igor -R and mandoc -Tlint on them before commit.