Print this page
OS-7753 THREAD_KPRI_RELEASE does nothing of the sort
Reviewed by: Bryan Cantrill <bryan@joyent.com>
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/sys/ia.h
          +++ new/usr/src/uts/common/sys/ia.h
↓ open down ↓ 14 lines elided ↑ open up ↑
  15   15   * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
  16   16   * If applicable, add the following below this CDDL HEADER, with the
  17   17   * fields enclosed by brackets "[]" replaced with your own identifying
  18   18   * information: Portions Copyright [yyyy] [name of copyright owner]
  19   19   *
  20   20   * CDDL HEADER END
  21   21   */
  22   22  /*
  23   23   * Copyright (c) 1997-1998 by Sun Microsystems, Inc.
  24   24   * All rights reserved.
       25 + * Copyright 2019 Joyent, Inc.
  25   26   */
  26   27  
  27   28  /*      Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T */
  28   29  /*        All Rights Reserved   */
  29   30  
  30   31  
  31   32  #ifndef _SYS_IA_H
  32   33  #define _SYS_IA_H
  33   34  
  34   35  #include <sys/types.h>
↓ open down ↓ 43 lines elided ↑ open up ↑
  78   79          int     *ia_pstatp;     /* pointer to p_stat */
  79   80          pri_t   *ia_pprip;      /* pointer to t_pri */
  80   81          uint_t  *ia_pflagp;     /* pointer to p_flag */
  81   82          struct iaproc *ia_next; /* link to next iaproc on list */
  82   83          struct iaproc *ia_prev; /* link to previous iaproc on list */
  83   84          int     ia_mode;        /* interactive on/off */
  84   85  } iaproc_t;
  85   86  
  86   87  
  87   88  /* flags */
  88      -#define IAKPRI  0x01    /* thread at kernel mode priority */
       89 +/* Formerly: IAKPRI 0x01 - thread at kernel model priority */
  89   90  #define IABACKQ 0x02    /* thread goes to back of disp q when preempted */
  90   91  #define IASLEPT 0x04    /* thread had long-term suspend - give new slice */
  91   92  
  92   93  
  93   94  #ifdef  __cplusplus
  94   95  }
  95   96  #endif
  96   97  
  97   98  #endif  /* _SYS_IA_H */
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX