Home
last modified time | relevance | path

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

/systemd-251/src/oom/
Doomd-util.c83 if (ctx->memory_pressure.avg10 > ctx->mem_pressure_limit) { in oomd_pressure_above()
354 r = read_resource_pressure(p, PRESSURE_TYPE_FULL, &ctx->memory_pressure); in oomd_cgroup_context_acquire()
581 … LOADAVG_INT_SIDE(ctx->memory_pressure.avg10), LOADAVG_DECIMAL_SIDE(ctx->memory_pressure.avg10), in oomd_dump_memory_pressure_cgroup_context()
582 … LOADAVG_INT_SIDE(ctx->memory_pressure.avg60), LOADAVG_DECIMAL_SIDE(ctx->memory_pressure.avg60), in oomd_dump_memory_pressure_cgroup_context()
583 … LOADAVG_INT_SIDE(ctx->memory_pressure.avg300), LOADAVG_DECIMAL_SIDE(ctx->memory_pressure.avg300), in oomd_dump_memory_pressure_cgroup_context()
584 FORMAT_TIMESPAN(ctx->memory_pressure.total, USEC_PER_SEC), in oomd_dump_memory_pressure_cgroup_context()
Dtest-oomd-util.c299 assert_se(store_loadavg_fixed_point(99, 99, &(ctx[0].memory_pressure.avg10)) == 0); in test_oomd_pressure_above()
300 assert_se(store_loadavg_fixed_point(99, 99, &(ctx[0].memory_pressure.avg60)) == 0); in test_oomd_pressure_above()
301 assert_se(store_loadavg_fixed_point(99, 99, &(ctx[0].memory_pressure.avg300)) == 0); in test_oomd_pressure_above()
305 assert_se(store_loadavg_fixed_point(1, 11, &(ctx[1].memory_pressure.avg10)) == 0); in test_oomd_pressure_above()
306 assert_se(store_loadavg_fixed_point(1, 11, &(ctx[1].memory_pressure.avg60)) == 0); in test_oomd_pressure_above()
307 assert_se(store_loadavg_fixed_point(1, 11, &(ctx[1].memory_pressure.avg300)) == 0); in test_oomd_pressure_above()
Doomd-manager.c502 … LOADAVG_INT_SIDE(t->memory_pressure.avg10), LOADAVG_DECIMAL_SIDE(t->memory_pressure.avg10), in monitor_memory_pressure_contexts_handler()
531 … LOADAVG_INT_SIDE(t->memory_pressure.avg10), LOADAVG_DECIMAL_SIDE(t->memory_pressure.avg10), in monitor_memory_pressure_contexts_handler()
Doomd-util.h23 ResourcePressure memory_pressure; member