Print this page
6583 remove whole-process swapping

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/mdb/common/modules/genunix/findstack.c
          +++ new/usr/src/cmd/mdb/common/modules/genunix/findstack.c
↓ open down ↓ 866 lines elided ↑ open up ↑
 867  867                          else
 868  868                                  mdb_printf("%-?p %-8s %-?s %8s\n",
 869  869                                      cur->se_thread, state, sobj, "-");
 870  870  
 871  871                          cur = only_matching ? cur->se_next : cur->se_dup;
 872  872                  } while (all && cur != NULL);
 873  873  
 874  874                  if (sep->se_failed != 0) {
 875  875                          char *reason;
 876  876                          switch (sep->se_failed) {
 877      -                        case FSI_FAIL_NOTINMEMORY:
 878      -                                reason = "thread not in memory";
 879      -                                break;
 880  877                          case FSI_FAIL_THREADCORRUPT:
 881  878                                  reason = "thread structure stack info corrupt";
 882  879                                  break;
 883  880                          case FSI_FAIL_STACKNOTFOUND:
 884  881                                  reason = "no consistent stack found";
 885  882                                  break;
 886  883                          default:
 887  884                                  reason = "unknown failure";
 888  885                                  break;
 889  886                          }
↓ open down ↓ 18 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX