diff options
| author | Roman Kiryanov <rkir@google.com> | 2019-06-19 11:11:59 -0700 |
|---|---|---|
| committer | Roman Kiryanov <rkir@google.com> | 2019-06-19 11:13:11 -0700 |
| commit | eee21eb4a63540a3f3201d0db8d43226a1896c91 (patch) | |
| tree | de4f15dafddc9e6a696075e7799aa36053b0c66d /kernel/sysctl.c | |
| parent | f1adac4c222bda2d85b683f95069e974d8b9665f (diff) | |
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: Roman Kiryanov <rkir@google.com>
Change-Id: I49d320ea046636ec38bd23f053317abc59f64f8e
Diffstat (limited to 'kernel/sysctl.c')
0 files changed, 0 insertions, 0 deletions
