1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-17 15:27:36 +00:00

- Giant is no longer required by vm_thread_new().

This commit is contained in:
Alan Cox 2003-12-07 04:16:49 +00:00
parent aea8889fc4
commit bca62663ab
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=123207
2 changed files with 0 additions and 4 deletions

View File

@ -187,9 +187,7 @@ thread_init(void *mem, int size)
struct thread *td;
td = (struct thread *)mem;
mtx_lock(&Giant);
vm_thread_new(td, 0);
mtx_unlock(&Giant);
cpu_thread_setup(td);
td->td_turnstile = turnstile_alloc();
td->td_sched = (struct td_sched *)&td[1];

View File

@ -187,9 +187,7 @@ thread_init(void *mem, int size)
struct thread *td;
td = (struct thread *)mem;
mtx_lock(&Giant);
vm_thread_new(td, 0);
mtx_unlock(&Giant);
cpu_thread_setup(td);
td->td_turnstile = turnstile_alloc();
td->td_sched = (struct td_sched *)&td[1];