Home
last modified time | relevance | path

Searched refs:mem_pressure_limit_hit_start (Results 1 – 4 of 4) sorted by relevance

/systemd-251/src/oom/
Dtest-oomd-util.c177 c1->mem_pressure_limit_hit_start = 42; in test_oomd_cgroup_context_acquire_and_insert()
188 assert_se(c2->mem_pressure_limit_hit_start == 42); in test_oomd_cgroup_context_acquire_and_insert()
209 .mem_pressure_limit_hit_start = 777, in test_oomd_update_cgroup_contexts_between_hashmaps()
214 .mem_pressure_limit_hit_start = 888, in test_oomd_update_cgroup_contexts_between_hashmaps()
240 assert_se(c_old->mem_pressure_limit_hit_start == c_new->mem_pressure_limit_hit_start); in test_oomd_update_cgroup_contexts_between_hashmaps()
247 assert_se(c_old->mem_pressure_limit_hit_start == c_new->mem_pressure_limit_hit_start); in test_oomd_update_cgroup_contexts_between_hashmaps()
316 assert_se(c->mem_pressure_limit_hit_start > 0); in test_oomd_pressure_above()
324 assert_se(c->mem_pressure_limit_hit_start == 0); in test_oomd_pressure_above()
332 assert_se(c->mem_pressure_limit_hit_start > 0); in test_oomd_pressure_above()
334 assert_se(c->mem_pressure_limit_hit_start == 0); in test_oomd_pressure_above()
Doomd-util.c86 if (ctx->mem_pressure_limit_hit_start == 0) in oomd_pressure_above()
87 ctx->mem_pressure_limit_hit_start = now(CLOCK_MONOTONIC); in oomd_pressure_above()
89 diff = now(CLOCK_MONOTONIC) - ctx->mem_pressure_limit_hit_start; in oomd_pressure_above()
96 ctx->mem_pressure_limit_hit_start = 0; in oomd_pressure_above()
513 curr_ctx->mem_pressure_limit_hit_start = old_ctx->mem_pressure_limit_hit_start; in oomd_insert_cgroup_context()
543 ctx->mem_pressure_limit_hit_start = old_ctx->mem_pressure_limit_hit_start; in oomd_update_cgroup_contexts_between_hashmaps()
Doomd-util.h38 usec_t mem_pressure_limit_hit_start; member
Doomd-manager.c545 if (c->mem_pressure_limit_hit_start == 0) in monitor_memory_pressure_contexts_handler()