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>

*** 20,40 **** * CDDL HEADER END */ /* * Copyright 2004 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */ /* Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T */ /* All Rights Reserved */ #ifndef _SYS_RT_H #define _SYS_RT_H - #pragma ident "%Z%%M% %I% %E% SMI" /* SVr4.0 1.4 */ - #include <sys/types.h> #include <sys/thread.h> #ifdef __cplusplus extern "C" { --- 20,39 ---- * CDDL HEADER END */ /* * Copyright 2004 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. + * Copyright 2015 Joyent, Inc. */ /* Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T */ /* All Rights Reserved */ #ifndef _SYS_RT_H #define _SYS_RT_H #include <sys/types.h> #include <sys/thread.h> #ifdef __cplusplus extern "C" {
*** 75,84 **** --- 74,93 ---- pri_t rt_pri; int rt_tqntm; int rt_tqsig; /* real-time time quantum signal */ uint_t rt_cflags; /* real-time control flags */ } rtkparms_t; + + #define RTGPPRIO0 100 /* Global priority for RT priority 0 */ + + /* + * control flags (kparms->rt_cflags). + */ + #define RT_DOPRI 0x01 /* change priority */ + #define RT_DOTQ 0x02 /* change RT time quantum */ + #define RT_DOSIG 0x04 /* change RT time quantum signal */ + #endif /* _KERNEL */ #ifdef __cplusplus } #endif