mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-04 09:09:56 +00:00
mtx: plug open-coded mtx_lock access missed in r311172
This commit is contained in:
parent
2b9c998413
commit
391df78ad4
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=311226
@ -545,7 +545,7 @@ __mtx_lock_sleep(volatile uintptr_t *c, uintptr_t tid, int opts,
|
||||
m->lock_object.lo_name);
|
||||
do {
|
||||
lock_delay(&lda);
|
||||
v = m->mtx_lock;
|
||||
v = MTX_READ_VALUE(m);
|
||||
owner = lv_mtx_owner(v);
|
||||
} while (v != MTX_UNOWNED && TD_IS_RUNNING(owner));
|
||||
KTR_STATE0(KTR_SCHED, "thread",
|
||||
|
Loading…
Reference in New Issue
Block a user