Print this page
OS-4915 want FX high priority zone configuration option
OS-4925 ps pri shows misleading value for zone in RT scheduling class
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/disp/rt_dptbl.c
          +++ new/usr/src/uts/common/disp/rt_dptbl.c
↓ open down ↓ 20 lines elided ↑ open up ↑
  21   21   */
  22   22  /*
  23   23   * Copyright 2004 Sun Microsystems, Inc.  All rights reserved.
  24   24   * Use is subject to license terms.
  25   25   */
  26   26  
  27   27  /*      Copyright (c) 1990, 1991 UNIX System Laboratories, Inc. */
  28   28  /*      Copyright (c) 1984, 1986, 1987, 1988, 1989, 1990 AT&T   */
  29   29  /*        All Rights Reserved   */
  30   30  
  31      -#pragma ident   "%Z%%M% %I%     %E% SMI"
  32      -
  33   31  #include <sys/proc.h>
  34   32  #include <sys/priocntl.h>
  35   33  #include <sys/class.h>
  36   34  #include <sys/disp.h>
  37   35  #include <sys/rt.h>
  38   36  #include <sys/rtpriocntl.h>
  39   37  #include <sys/modctl.h>
  40   38  
  41   39  /*
  42   40   * The purpose of this file is to allow a user to make their own
↓ open down ↓ 20 lines elided ↑ open up ↑
  63   61  {
  64   62          return (mod_install(&modlinkage));
  65   63  }
  66   64  
  67   65  int
  68   66  _info(struct modinfo *modinfop)
  69   67  {
  70   68          return (mod_info(&modlinkage, modinfop));
  71   69  }
  72   70  
  73      -#define RTGPPRIO0       100     /* Global priority for RT priority 0 */
  74      -
  75   71  rtdpent_t       config_rt_dptbl[] = {
  76   72  
  77   73  /*      prilevel    Time quantum */
  78   74  
  79   75          RTGPPRIO0,      100,
  80   76          RTGPPRIO0+1,    100,
  81   77          RTGPPRIO0+2,    100,
  82   78          RTGPPRIO0+3,    100,
  83   79          RTGPPRIO0+4,    100,
  84   80          RTGPPRIO0+5,    100,
↓ open down ↓ 64 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX