summaryrefslogtreecommitdiff
path: root/usr/src/uts/intel/ia32/os/syscall.c
diff options
context:
space:
mode:
authorakolb <none@none>2007-03-09 15:55:28 -0800
committerakolb <none@none>2007-03-09 15:55:28 -0800
commitc97ad5cdc75eb73e3cc38542ca3ba783574b0a7a (patch)
tree5ba1653d892978d87d6061c8c7f3821f4b3e354c /usr/src/uts/intel/ia32/os/syscall.c
parent68d3ac02fc9db49ae9dccaecff999963114930a7 (diff)
downloadillumos-gate-c97ad5cdc75eb73e3cc38542ca3ba783574b0a7a.tar.gz
PSARC/2004/402 CPU Caps
6327235 PSARC/2004/402 CPU caps 6464161 Dead KSLICE code should be removed 6514387 FX class contains dead code to keep list of member threads 6518395 kstat_zone_add performs KM_SLEEP allocation when it should not
Diffstat (limited to 'usr/src/uts/intel/ia32/os/syscall.c')
-rw-r--r--usr/src/uts/intel/ia32/os/syscall.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr/src/uts/intel/ia32/os/syscall.c b/usr/src/uts/intel/ia32/os/syscall.c
index a78fbc62a6..f40ab4a175 100644
--- a/usr/src/uts/intel/ia32/os/syscall.c
+++ b/usr/src/uts/intel/ia32/os/syscall.c
@@ -20,7 +20,7 @@
*/
/*
- * Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+ * Copyright 2007 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
@@ -761,7 +761,7 @@ sig_check:
CL_TRAPRET(t);
thread_unlock(t);
}
- if (CPU->cpu_runrun)
+ if (CPU->cpu_runrun || t->t_schedflag & TS_ANYWAITQ)
preempt();
lwp->lwp_errno = 0; /* clear error for next time */