summaryrefslogtreecommitdiffstats
path: root/release
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2001-09-21 22:06:22 +0000
committerjhb <jhb@FreeBSD.org>2001-09-21 22:06:22 +0000
commit3f482975e35722efddbdd11fa2141c6552280177 (patch)
tree038d90d97ef78218b4a81007d7e6668e9883759d /release
parent27422e6ae6d8128be14a3cda0c94eb1d3e5d95a7 (diff)
downloadFreeBSD-src-3f482975e35722efddbdd11fa2141c6552280177.zip
FreeBSD-src-3f482975e35722efddbdd11fa2141c6552280177.tar.gz
The P_SELECT flag was moved from p->p_flag to td->td_flags, but p_flag
was locked by the proc lock and td_flags is locked by the sched_lock. The places that read, set, and cleared TDF_SELECT weren't updated, so they read and modified td_flags w/o holding the sched_lock, meaning that they could corrupt the per-thread flags field. As an immediate band-aid, grab sched_lock while reading and manipulating td_flags in relation to TDF_SELECT. This will probably be cleaned up some later on.
Diffstat (limited to 'release')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud