Fix a longstanding bug where only the first part of the cpumask was
correctly set full. Submitted by: anonymous
This commit is contained in:
parent
336fa86932
commit
c5a5c48e70
@ -719,7 +719,7 @@ cpuset_thread0(void)
|
||||
* cpuset_create() due to NULL parent.
|
||||
*/
|
||||
set = uma_zalloc(cpuset_zone, M_WAITOK | M_ZERO);
|
||||
set->cs_mask.__bits[0] = -1;
|
||||
CPU_FILL(&set->cs_mask);
|
||||
LIST_INIT(&set->cs_children);
|
||||
LIST_INSERT_HEAD(&cpuset_ids, set, cs_link);
|
||||
set->cs_ref = 1;
|
||||
|
Loading…
x
Reference in New Issue
Block a user