mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-14 10:09:48 +00:00
- thr_exit() should no longer be called with Giant held.
This commit is contained in:
parent
f27bf63b8a
commit
8446303e01
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=112912
@ -209,8 +209,6 @@ thr_exit(struct thread *td, struct thr_exit_args *uap)
|
||||
* This unlocks proc and doesn't return unless this is the last
|
||||
* thread.
|
||||
*/
|
||||
while (mtx_owned(&Giant))
|
||||
mtx_unlock(&Giant);
|
||||
thr_exit1();
|
||||
mtx_unlock_spin(&sched_lock);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user