diff options
author | akolb <none@none> | 2007-03-09 15:55:28 -0800 |
---|---|---|
committer | akolb <none@none> | 2007-03-09 15:55:28 -0800 |
commit | c97ad5cdc75eb73e3cc38542ca3ba783574b0a7a (patch) | |
tree | 5ba1653d892978d87d6061c8c7f3821f4b3e354c /usr/src/uts/sun4u | |
parent | 68d3ac02fc9db49ae9dccaecff999963114930a7 (diff) | |
download | illumos-joyent-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/sun4u')
-rw-r--r-- | usr/src/uts/sun4u/ngdr/io/dr_quiesce.c | 5 | ||||
-rw-r--r-- | usr/src/uts/sun4u/serengeti/io/sbdp_quiesce.c | 6 | ||||
-rw-r--r-- | usr/src/uts/sun4u/sunfire/io/sysctrl_quiesce.c | 5 |
3 files changed, 6 insertions, 10 deletions
diff --git a/usr/src/uts/sun4u/ngdr/io/dr_quiesce.c b/usr/src/uts/sun4u/ngdr/io/dr_quiesce.c index fb61524dfb..3ef5e2a167 100644 --- a/usr/src/uts/sun4u/ngdr/io/dr_quiesce.c +++ b/usr/src/uts/sun4u/ngdr/io/dr_quiesce.c @@ -19,7 +19,7 @@ * CDDL HEADER END */ /* - * Copyright 2006 Sun Microsystems, Inc. All rights reserved. + * Copyright 2007 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */ @@ -566,8 +566,7 @@ dr_stop_user_threads(dr_sr_handle_t *srh) aston(tp); - if (tp->t_state == TS_SLEEP && - (tp->t_flag & T_WAKEABLE)) { + if (ISWAKEABLE(tp) || ISWAITING(tp)) { setrun_locked(tp); } diff --git a/usr/src/uts/sun4u/serengeti/io/sbdp_quiesce.c b/usr/src/uts/sun4u/serengeti/io/sbdp_quiesce.c index ab078974e3..7b42c3e905 100644 --- a/usr/src/uts/sun4u/serengeti/io/sbdp_quiesce.c +++ b/usr/src/uts/sun4u/serengeti/io/sbdp_quiesce.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. */ @@ -541,11 +541,9 @@ sbdp_stop_user_threads(sbdp_sr_handle_t *srh) aston(tp); - if (tp->t_state == TS_SLEEP && - (tp->t_flag & T_WAKEABLE)) { + if (ISWAKEABLE(tp) || ISWAITING(tp)) { setrun_locked(tp); } - } /* grab thread if needed */ diff --git a/usr/src/uts/sun4u/sunfire/io/sysctrl_quiesce.c b/usr/src/uts/sun4u/sunfire/io/sysctrl_quiesce.c index 93d229fb3e..ff72a5e344 100644 --- a/usr/src/uts/sun4u/sunfire/io/sysctrl_quiesce.c +++ b/usr/src/uts/sun4u/sunfire/io/sysctrl_quiesce.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. */ @@ -372,8 +372,7 @@ sysctrl_stop_user_threads(sysc_cfga_pkt_t *pkt) aston(tp); - if (tp->t_state == TS_SLEEP && - (tp->t_flag & T_WAKEABLE)) { + if (ISWAKEABLE(tp) || ISWAITING(tp)) { setrun_locked(tp); } |