Stop doing lockless `t_flags' check within task_add(9) and task_del(9).
authormvs <mvs@openbsd.org>
Mon, 15 Aug 2022 09:10:36 +0000 (09:10 +0000)
committermvs <mvs@openbsd.org>
Mon, 15 Aug 2022 09:10:36 +0000 (09:10 +0000)
commit56070bb8c5c1530a1befbdc802fe144854b8b0b7
treeec6cfd7532a375ba237cb877441eb5804124838a
parentd79e52f98748e3c04b7dfbe287378fcb9058d005
Stop doing lockless `t_flags' check within task_add(9) and task_del(9).
This doesn't work on MP systems. We do locked `t_flags' check just after
lockless check, so just remove it.

ok dlg@
sys/kern/kern_task.c