From c97ad5cdc75eb73e3cc38542ca3ba783574b0a7a Mon Sep 17 00:00:00 2001 From: akolb Date: Fri, 9 Mar 2007 15:55:28 -0800 Subject: 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 --- usr/src/uts/intel/ia32/os/syscall.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'usr/src/uts/intel/ia32/os/syscall.c') 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 */ -- cgit v1.2.3