Roman Kiryanov
54a1b2c153
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: 174125747
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
[satyap@codeaurora.org: port to android-mainline kernel]
Signed-off-by: Satya Durga Srinivasu Prabhala <satyap@codeaurora.org>
2020-11-27 16:32:27 +00:00
..
2020-11-14 08:17:27 -08:00
2020-11-27 16:32:27 +00:00
2020-10-01 14:44:08 +01:00
2020-11-12 09:16:49 +01:00
2020-11-04 18:06:14 +01:00
2020-11-16 08:41:35 +01:00
2020-09-11 09:33:54 -07:00
2020-11-10 20:07:32 +00:00
2020-10-16 11:11:19 -07:00
2020-10-16 11:11:19 -07:00
2020-11-23 08:17:16 +01:00
2020-11-02 11:04:03 +01:00
2020-11-10 20:07:49 +00:00
2020-11-17 10:31:56 -08:00
2020-11-27 16:31:17 +00:00
2020-11-13 20:55:38 +00:00
2020-11-20 15:06:42 +01:00
2020-10-16 11:11:19 -07:00
2020-07-16 12:35:15 -07:00
2020-07-27 23:25:50 +02:00
2020-08-06 19:29:51 -07:00
2020-07-27 23:25:50 +02:00
2020-08-26 09:10:39 -04:00
2020-08-17 20:26:58 -04:00
2020-08-23 17:36:59 -05:00
2020-08-04 14:20:26 -07:00
2020-07-30 11:15:58 -07:00
2020-10-13 09:17:34 -07:00
2020-08-23 17:36:59 -05:00
2020-06-11 15:14:36 +02:00
2020-09-01 09:58:03 +02:00
2020-10-28 07:02:08 +00:00
2020-08-12 10:58:01 -07:00
2020-05-20 14:44:21 -05:00
2020-10-28 16:39:49 -04:00
2020-11-19 11:58:16 -08:00
2020-11-09 12:49:27 +01:00
2020-11-16 08:41:35 +01:00
2020-06-06 23:42:01 +09:00
2020-10-13 09:17:34 -07:00
2020-11-02 12:14:19 -08:00
2020-05-28 10:54:15 +02:00
2020-10-16 11:11:19 -07:00
2020-10-25 14:51:49 -07:00
2020-08-12 10:58:02 -07:00
2020-10-16 11:11:19 -07:00
2020-10-16 11:11:18 -07:00
2020-10-05 13:37:03 +02:00
2020-08-12 10:58:01 -07:00
2020-11-04 09:46:06 -05:00
2020-11-02 12:14:19 -08:00
2020-10-22 13:13:57 -07:00
2020-10-22 13:08:57 -07:00
2020-09-01 09:58:03 +02:00
2020-07-08 11:14:22 +02:00
2020-09-04 17:51:55 +10:00
2020-11-14 11:26:04 -08:00
2020-10-29 17:22:59 -05:00
2020-10-16 11:11:19 -07:00
2020-10-26 10:08:43 +01:00
2020-11-17 12:53:22 -08:00
2020-10-16 11:11:19 -07:00
2020-11-15 14:37:09 +01:00
2020-07-27 14:31:12 -04:00
2020-10-16 11:11:22 -07:00
2020-10-16 11:11:18 -07:00
2020-08-24 18:38:38 -07:00
2020-08-07 11:33:25 -07:00
2020-11-17 12:53:22 -08:00
2020-11-06 08:00:53 +01:00
2020-10-18 14:34:50 -07:00
2020-11-10 19:07:12 +00:00
2020-09-19 13:13:39 -07:00
2020-09-18 14:24:16 +01:00
2020-10-02 21:18:25 +02:00
2020-11-02 12:03:50 +01:00
2020-10-18 09:27:10 -07:00
2020-10-29 06:32:38 +01:00
2020-09-21 12:13:45 +02:00
2020-10-17 15:05:30 -06:00
2020-10-02 19:11:12 -07:00
2020-06-29 12:01:45 -07:00
2020-10-29 17:22:59 -05:00
2020-10-06 10:31:52 -07:00
2020-10-16 11:11:19 -07:00
2020-06-04 19:06:24 -07:00
2020-07-07 11:58:59 -05:00
2020-05-09 13:57:12 +02:00
2020-08-17 09:39:18 -07:00
2020-11-14 11:26:03 -08:00
2020-10-26 09:23:33 +01:00