markj 00e6826462 Set td_oncpu before dropping the thread lock during a switch.
After r355784 we no longer hold a thread's thread lock when switching it
out.  Preserve the previous synchronization protocol for td_oncpu by
setting it together with td_state, before dropping the thread lock
during a switch.

Reported and tested by:	pho
Reviewed by:	kib
Discussed with:	jeff
Differential Revision:	https://reviews.freebsd.org/D23270
2020-01-23 16:24:51 +00:00
..
2020-01-21 17:28:36 +00:00
2020-01-23 13:56:12 +00:00
2020-01-10 22:49:14 +00:00
2020-01-23 03:38:41 +00:00