return RESOURCED_ERROR_INVALID_PARAMETER;
if (ps->pai->memory.memlimit_update_exclude)
- return RESOURCED_ERROR_NONE;
+ return lowmem_limit_move_cgroup(ps->pai);
if (mem_service_limit_bytes && mem_service_action != PROC_ACTION_IGNORE) {
lowmem_limit_set_app(mem_service_limit_bytes, ps->pai, mem_service_action);
return RESOURCED_ERROR_INVALID_PARAMETER;
if (ps->pai->memory.memlimit_update_exclude)
- return RESOURCED_ERROR_NONE;
+ return lowmem_limit_move_cgroup(ps->pai);
if (mem_guiapp_limit_bytes && mem_guiapp_action != PROC_ACTION_IGNORE &&
ps->pai->type == PROC_TYPE_GUI) {
return RESOURCED_ERROR_INVALID_PARAMETER;
if (ps->pai->memory.memlimit_update_exclude)
- return RESOURCED_ERROR_NONE;
+ return lowmem_limit_move_cgroup(ps->pai);
lowmem_limit_set_app(mem_bgapp_limit_bytes, ps->pai, mem_bgapp_action);