|
|
1.1 root 1: #ifndef __KERNEL_PRI_H__
2: #define __KERNEL_PRI_H__
3:
4: /*
5: * The following abstract values are used in the DDI/DKI for specifying the
6: * priority to be given to processes after awakening from kernel sleep.
7: * Clients are permitted to specify a relative bias of up to +/- 3 from the
8: * values specified below.
9: *
10: * The actual values chosen below are such that given the bias, abstract
11: * priorities can be mapped via a table into whatever concrete form is
12: * desired by the scheduling algorithm. In particular, it is not possible for
13: * clients to infer anything about the relative priorities of different levels
14: * given the information below.
15: */
16:
17: enum {
18: prilo = 3, /* low priority */
19: pritape = 10, /* appropriate for tape driver */
20: primed = 17, /* medium priority */
21: pritty = 24, /* appropriate for terminal driver */
22: pridisk = 31, /* appropriate for disk driver */
23: prinet = 38, /* appropriate for network driver */
24: prihi = 45 /* high priority */
25: };
26:
27: #endif /* ! defined (__KERNEL_PRI_H__) */
28:
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.