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
..
2019-12-15 21:11:15 +00:00
2019-12-15 21:11:15 +00:00
2019-09-03 18:56:25 +00:00
2019-08-28 16:18:23 +00:00
2020-01-05 12:48:19 +00:00
2020-01-05 12:48:19 +00:00
2019-12-15 21:11:15 +00:00
2019-03-12 05:10:41 +00:00
2018-10-12 00:32:45 +00:00
2019-12-15 21:11:15 +00:00
2018-08-18 19:45:56 +00:00
2020-01-05 12:48:19 +00:00
2019-12-15 21:11:15 +00:00
2019-02-20 09:38:19 +00:00
2019-12-15 21:11:15 +00:00
2019-12-15 21:26:50 +00:00
2020-01-12 23:52:16 +00:00
2019-09-26 15:41:10 +00:00