Linux sends SIGKILL to all other threads on exit; FreeBSD single-threads
the process instead. LinuxKPI wait loops (e.g. amdkfd kfd_wait_on_events)
checking signal_pending()/fatal_signal_pending() never noticed and spun
forever, blocking exit1() in thread_single(). Treat P_WEXIT/P_SINGLE_EXIT
(for threads other than p_singlethread) as a pending fatal signal.
Details
Details
- Reviewers
- None
Diff Detail
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Skipped - Unit
Tests Skipped - Build Status
Buildable 79748 Build 76631: arc lint + arc unit