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

Skip to content
Commit 2dae2bb2 authored by Roman Kiryanov's avatar Roman Kiryanov Committed by Pavankumar Kondeti
Browse files

ANDROID: kernel: cgroup: cpuset: Clear cpus_requested for empty buf



update_cpumask had a special case for empty buf which
did not update cpus_requested. This change reduces
differences (only to parsing) in empty/non-empty codepaths
to make them consistent.

Bug: 120444281
Fixes: 4803def4e0b2 ("ANDROID: cpuset: Make cpusets restore on hotplug")
Test: check that writes to /dev/cpuset/background/tasks
Test: work as expected, e.g.:
Test: echo $$ > /dev/cpuset/background/tasks
Test: echo > /dev/cpuset/background/tasks
Signed-off-by: default avatarRoman Kiryanov <rkir@google.com>
Git-commit: 4a80327652a261138225722b179f21b7eac21d86
Git-repo: https://android.googlesource.com/kernel/common


Change-Id: I49d320ea046636ec38bd23f053317abc59f64f8e
Signed-off-by: default avatarPavankumar Kondeti <pkondeti@codeaurora.org>
parent bef69267
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment