]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
epoch_block_wait: don't check TD_RUNNING
authorMatt Macy <mmacy@FreeBSD.org>
Thu, 9 Aug 2018 05:18:27 +0000 (05:18 +0000)
committerMatt Macy <mmacy@FreeBSD.org>
Thu, 9 Aug 2018 05:18:27 +0000 (05:18 +0000)
commit9fec45d8e5f586e451950dcd24c886625c6807ee
tree233577d7a954bdc1487d21645d96a790eb5df0a4
parent456a4ad51e95a2a812ee24ebeaaf0ceb037a94d2
epoch_block_wait: don't check TD_RUNNING

struct epoch_thread is not type safe (stack allocated) and thus cannot be dereferenced from another CPU

Reported by: novel@
sys/kern/subr_epoch.c