It is fine to drop the process lock there, process cannot exit until its timers are cleared.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Skipped - Unit
Tests Skipped
Event Timeline
Comment Actions
Upload the correct version of the patch.
PHOLD() there is not needed and is even wrong.
Comment Actions
I believe there is a similar recursion with kqueue timers: kqtimer_proc_continue() holds the proc lock, and filt_timerexpire() may attempt to acquire it.