calculate_threshold_size(memcg_conf->threshold[lvl].threshold));
if (lvl == MEM_LEVEL_OOM) {
+ memcg_set_leave_threshold(MEMCG_ROOT,
+ get_memcg_info(MEMCG_ROOT)->threshold_mb[lvl] * 1.5);
proactive_threshold_mb = get_memcg_info(MEMCG_ROOT)->threshold_leave_mb;
proactive_leave_mb = proactive_threshold_mb * 1.5;
}
memcg_conf->threshold[lvl].threshold);
if (lvl == MEM_LEVEL_OOM) {
+ memcg_set_leave_threshold(MEMCG_ROOT,
+ get_memcg_info(MEMCG_ROOT)->threshold_mb[lvl] * 1.5);
proactive_threshold_mb = get_memcg_info(MEMCG_ROOT)->threshold_leave_mb;
proactive_leave_mb = proactive_threshold_mb * 1.5;
}