Lines Matching defs:limit

202  * limit reclaim to prevent infinite loops, if they ever occur.
1011 /* threshold event is triggered in finer grain than soft limit */
1453 unsigned long limit;
1456 limit = READ_ONCE(memcg->memory.max);
1457 if (count < limit)
1458 margin = limit - count;
1462 limit = READ_ONCE(memcg->memsw.max);
1463 if (count < limit)
1464 margin = min(margin, limit - count);
1662 * @memcg: The memory cgroup that went over limit
1687 * @memcg: The memory cgroup that went over limit
1697 pr_info("memory: usage %llukB, limit %llukB, failcnt %lu\n",
1701 pr_info("swap: usage %llukB, limit %llukB, failcnt %lu\n",
1705 pr_info("memory+swap: usage %llukB, limit %llukB, failcnt %lu\n",
1708 pr_info("kmem: usage %llukB, limit %llukB, failcnt %lu\n",
1722 * Return the memory (and swap, if configured) limit for a memcg.
1730 /* Calculate swap excess capacity from memsw limit */
2468 * limit penalises misbehaviour cgroups by slowing them down exponentially. For
2586 * and reclaims memory over the high limit.
2706 * under the limit over triggering OOM kills in these cases.
2737 * Even though the limit is exceeded at this point, reclaim
2742 * unlikely to succeed so close to the limit, and we fall back
2794 * being freed very soon. Allow memory usage go over the limit
2813 * change in the meantime. As high limit is checked again before
3307 * limit enforcement accuracy and potential CPU contention,
3417 * size limit. The maximum reachable value of the pre-charged
3519 * Make sure that the new limit (memsw or memory limit) doesn't
3578 * are acceptable as soft limit is best effort anyway.
3585 * keep exceeding their soft limit and putting the system under
3890 if (mem_cgroup_is_root(memcg)) { /* Can't set limit on root */
7381 * @memcg's configured limit, %false if it doesn't.
7843 * Check if the hierarchical zswap limit has been reached.