diff options
Diffstat (limited to 'usr/src/uts/common/os/lwp.c')
-rw-r--r-- | usr/src/uts/common/os/lwp.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/usr/src/uts/common/os/lwp.c b/usr/src/uts/common/os/lwp.c index 39ca56ac7d..d80f32c658 100644 --- a/usr/src/uts/common/os/lwp.c +++ b/usr/src/uts/common/os/lwp.c @@ -346,12 +346,15 @@ grow: t->t_bind_cpu = binding = PBIND_NONE; t->t_cpupart = oldpart = &cp_default; t->t_bind_pset = PS_NONE; + t->t_bindflag = (uchar_t)default_binding_mode; } else { binding = curthread->t_bind_cpu; t->t_bind_cpu = binding; oldpart = t->t_cpupart; t->t_cpupart = curthread->t_cpupart; t->t_bind_pset = curthread->t_bind_pset; + t->t_bindflag = curthread->t_bindflag | + (uchar_t)default_binding_mode; } /* |