> On Jun 1, 2020, at 6:36 AM, Kamil Rytarowski <ka...@netbsd.org> wrote:
> 
> lwp_exit() used to work for curlwp and !curlwp.
> 
> There is a regression that there was introduced code called from
> lwp_exit() calling lwp_thread_cleanup(l) that asserts curlwp,
> effectively enforcing lwp_exit() to be operational for curlwp only.

I just reviewed the entire code path below that assertion again, and nothing in 
the current incarnation of the code relies on l == curlwp.  I've removed the 
assertion just now.

-- thorpej

Reply via email to