Lines Matching refs:zone

49 #include <sys/zone.h>
62 * The FSS cpu-share is set on zones using the zone.cpu-shares rctl and on
76 * Projects in a zone compete with each other for CPU time, receiving CPU
77 * allocation within a zone proportional to the project's share; at a higher
79 * proportional to the zone's share.
136 * - pset_shares is the total of all *active* zone shares in the pset (by
140 * zone (the zone-internal total)
141 * - zone_ext_shares is the share value for the zone (zone.cpu-shares rctl)
585 * belongs to zone "zone" and cpu partition fsspset, if such structure exists.
588 fss_find_fsszone(fsspset_t *fsspset, zone_t *zone)
597 * already. Try to find our zone among them.
601 if (fsszone->fssz_zone == zone) {
615 fss_insert_fsszone(fsspset_t *fsspset, zone_t *zone, fsszone_t *fsszone)
619 fsszone->fssz_zone = zone;
620 fsszone->fssz_rshares = zone->zone_shares;
659 * This is not the last zone in the list.
667 * This was the last zone active in this cpu partition.
893 * most commonly seen when there is a zone with lots of runnable threads.
897 * - there are multiple runnable threads in the zone (project)
1045 struct zone *zp;
1083 * Reset zone's FSS stats if they are from a
1119 * Readjust the zone's number of shares if it
1181 * Project 0 in the global zone has 50%
1182 * of its zone. See calculation above for
1183 * the zone's share percent.
1208 * of all active projects within the zone (and
1210 * of zone shares (ie, zone.cpu-shares).
1212 * If there is only one zone active on the pset
1220 * zone this formula reduces to:
1633 zone_t *zone;
1702 zone = ttoproc(t)->p_zone;
1703 if ((fsszone = fss_find_fsszone(fsspset, zone)) == NULL) {
1710 fss_insert_fsszone(fsspset, zone, fsszone);
2806 zone_t *zone = zp;
2843 if ((fsszone_new = fss_find_fsszone(fsspset, zone)) == NULL) {
2845 * If the zone for the new project is not currently active on
2847 * buffers and link it in our per-pset zone list. Such buffers
2852 fss_insert_fsszone(fsspset, zone, fsszone_new);
2913 zone_t *zone;
2924 zone = ttoproc(t)->p_zone;
2945 if ((fsszone_new = fss_find_fsszone(fsspset_new, zone)) == NULL) {
2948 fss_insert_fsszone(fsspset_new, zone,