Home
last modified time | relevance | path

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

/systemd-251/src/oom/
Dtest-oomd-util.c178 c1->last_had_mem_reclaim = 888; in test_oomd_cgroup_context_acquire_and_insert()
189 … assert_se(c2->last_had_mem_reclaim == 888); /* assumes the live pgscan is less than UINT64_MAX */ in test_oomd_cgroup_context_acquire_and_insert()
210 .last_had_mem_reclaim = 888, in test_oomd_update_cgroup_contexts_between_hashmaps()
215 .last_had_mem_reclaim = 888, in test_oomd_update_cgroup_contexts_between_hashmaps()
241 assert_se(c_old->last_had_mem_reclaim == c_new->last_had_mem_reclaim); in test_oomd_update_cgroup_contexts_between_hashmaps()
248 assert_se(c_new->last_had_mem_reclaim > c_old->last_had_mem_reclaim); in test_oomd_update_cgroup_contexts_between_hashmaps()
Doomd-util.c514 curr_ctx->last_had_mem_reclaim = old_ctx->last_had_mem_reclaim; in oomd_insert_cgroup_context()
518 curr_ctx->last_had_mem_reclaim = now(CLOCK_MONOTONIC); in oomd_insert_cgroup_context()
544 ctx->last_had_mem_reclaim = old_ctx->last_had_mem_reclaim; in oomd_update_cgroup_contexts_between_hashmaps()
547 ctx->last_had_mem_reclaim = now(CLOCK_MONOTONIC); in oomd_update_cgroup_contexts_between_hashmaps()
Doomd-util.h39 usec_t last_had_mem_reclaim; member
Doomd-manager.c497 … if ((now(CLOCK_MONOTONIC) - t->last_had_mem_reclaim) > RECLAIM_DURATION_USEC) in monitor_memory_pressure_contexts_handler()