Apparently something down in the guts of vm/uvm still needs giant
Obtained from: mini via P4 KSE tree.
This commit is contained in:
parent
58616b1c69
commit
e6e24ff9cd
@ -152,7 +152,9 @@ thread_init(void *mem, int size)
|
||||
("size mismatch: %d != %d\n", size, (int)sizeof(struct thread)));
|
||||
|
||||
td = (struct thread *)mem;
|
||||
mtx_lock(&Giant);
|
||||
pmap_new_thread(td);
|
||||
mtx_unlock(&Giant);
|
||||
cpu_thread_setup(td);
|
||||
cached_threads++; /* XXXSMP */
|
||||
allocated_threads++; /* XXXSMP */
|
||||
|
@ -152,7 +152,9 @@ thread_init(void *mem, int size)
|
||||
("size mismatch: %d != %d\n", size, (int)sizeof(struct thread)));
|
||||
|
||||
td = (struct thread *)mem;
|
||||
mtx_lock(&Giant);
|
||||
pmap_new_thread(td);
|
||||
mtx_unlock(&Giant);
|
||||
cpu_thread_setup(td);
|
||||
cached_threads++; /* XXXSMP */
|
||||
allocated_threads++; /* XXXSMP */
|
||||
|
Loading…
x
Reference in New Issue
Block a user