Print this page
patch remove-dont-swap-flag

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/os/panic.c
          +++ new/usr/src/uts/common/os/panic.c
↓ open down ↓ 215 lines elided ↑ open up ↑
 216  216          uint_t intr_actv;
 217  217  
 218  218          ushort_t schedflag = t->t_schedflag;
 219  219          cpu_t *bound_cpu = t->t_bound_cpu;
 220  220          char preempt = t->t_preempt;
 221  221          label_t pcb = t->t_pcb;
 222  222  
 223  223          (void) setjmp(&t->t_pcb);
 224  224          t->t_flag |= T_PANIC;
 225  225  
 226      -        t->t_schedflag |= TS_DONT_SWAP;
 227  226          t->t_bound_cpu = cp;
 228  227          t->t_preempt++;
 229  228  
 230  229          panic_enter_hw(s);
 231  230  
 232  231          /*
 233  232           * If we're on the interrupt stack and an interrupt thread is available
 234  233           * in this CPU's pool, preserve the interrupt stack by detaching an
 235  234           * interrupt thread and making its stack the intr_stack.
 236  235           */
↓ open down ↓ 186 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX