Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 99910266 authored by Tim Murray's avatar Tim Murray
Browse files

Don't set cgroup policy when updating cpusets.

bug 21782794

Change-Id: I3b2cf8ae4f3ed0c14f206584ae7fa2b1a1d11ad0
parent 1cddc209
Loading
Loading
Loading
Loading
+1 −4
Original line number Diff line number Diff line
@@ -269,10 +269,7 @@ int set_cpuset_policy(int tid, SchedPolicy policy)
            return -errno;
    }

    // we do both setting of cpuset and setting of cgroup
    // ensures that backgrounded apps are actually deprioritized
    // including on core 0
    return set_sched_policy(tid, policy);
    return 0;
#endif
}