Lines Matching full:rss

105 static size_t nvmu_vals = 0;		/* # of kernel RSS/swap vals in array */
106 static size_t vmu_vals_len = 0; /* size of RSS/swap vals array */
107 static vmusage_t *vmu_vals = NULL; /* snapshot of kernel RSS/swap values */
430 * Get the zone's & project's RSS from the kernel.
461 warn(gettext("can't read RSS from kernel\n"));
476 warn(gettext("out of memory: could not read RSS from "
518 /* we found the right RSS entry, update the collection vals */
526 * Sample the collection RSS, updating the collection's statistics with the
527 * results. Also, sum the rss of all capped projects & return true if
534 uint64_t rss;
540 rss = lcol->lcol_rss;
541 excess = rss - lcol->lcol_rss_cap;
543 lcol->lcol_stat.lcols_rss_act_sum += rss;
548 lcol->lcol_stat.lcols_rss_sum += rss;
550 if (lcol->lcol_stat.lcols_min_rss > rss)
551 lcol->lcol_stat.lcols_min_rss = rss;
552 if (lcol->lcol_stat.lcols_max_rss < rss)
553 lcol->lcol_stat.lcols_max_rss = rss;
628 * Print, for debugging purposes, a collection's recently-sampled RSS and
637 debug("%s %s rss/cap: %llu/%llu, excess = %lld kB\n",
686 * its cap then we need to get the up-to-date global zone rss to
689 * projects over cap then we can use the rss value we already have for
754 * its cap then we need to get the up-to-date global zone rss to
757 * projects over cap then we can use the rss value we already have for
1035 "ineffective/scans/unenforced/samplings: %llu/%llu/%llu/%llu, RSS "
1348 /* no capped collections, skip checking rss */
1445 hrtime_t next_rss_sample; /* (latest) time of next RSS sample */
1608 * Update the rss data once every next_rss_sample interval.