Jiri Olsa
4ffa3c977b
x86/intel_rdt: Add cpus_list rdtgroup file
...
The resource control filesystem provides only a bitmask based cpus file for
assigning CPUs to a resource group. That's cumbersome with large cpumasks
and non-intuitive when modifying the file from the command line.
Range based cpu lists are commonly used along with bitmask based cpu files
in various subsystems throughout the kernel.
Add 'cpus_list' file which is CPU range based.
# cd /sys/fs/resctrl/
# echo 1-10 > krava/cpus_list
# cat krava/cpus_list
1-10
# cat krava/cpus
0007fe
# cat cpus
fffff9
# cat cpus_list
0,3-23
[ tglx: Massaged changelog and replaced "bitmask lists" by "CPU ranges" ]
Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Cc: Fenghua Yu <fenghua.yu@intel.com>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Shaohua Li <shli@fb.com>
Link: http://lkml.kernel.org/r/20170410145232.GF25354@krava
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
2017-04-10 19:10:25 +02:00
..
2017-02-27 19:59:21 -08:00
2016-09-23 13:07:15 -06:00
2017-02-27 18:43:47 -08:00
2017-03-09 16:30:37 -08:00
2017-01-20 21:31:34 +01:00
2017-02-10 11:22:12 +00:00
2016-09-23 11:52:32 -06:00
2016-10-10 07:12:02 -06:00
2017-02-22 18:51:29 -08:00
2017-02-27 18:43:47 -08:00
2017-02-14 08:29:56 -07:00
2017-02-27 21:41:08 -08:00
2017-01-13 10:32:32 -07:00
2017-02-22 18:51:29 -08:00
2017-02-15 13:23:49 +08:00
2017-03-09 17:01:09 -08:00
2017-02-27 18:43:47 -08:00
2017-03-11 00:08:39 -08:00
2016-11-14 08:14:24 +05:30
2016-11-30 17:08:09 -07:00
2017-03-04 11:32:18 -08:00
2017-02-23 18:58:18 -08:00
2017-02-10 14:39:20 +01:00
2017-01-09 10:04:11 +09:00
2016-12-23 10:22:47 -08:00
2017-03-02 20:51:15 -05:00
2017-01-11 09:42:59 +01:00
2017-02-10 15:20:44 +01:00
2016-10-24 08:12:35 -02:00
2017-01-31 15:43:05 +01:00
2017-02-23 18:58:18 -08:00
2017-02-22 18:51:29 -08:00
2017-02-09 17:39:16 +01:00
2016-09-20 09:58:12 -06:00
2016-10-01 00:49:58 -06:00
2016-10-02 08:42:19 -04:00
2017-02-12 15:19:00 -07:00
2017-02-23 09:41:03 -08:00
2016-10-24 08:12:35 -02:00
2016-11-16 09:26:33 +01:00
2016-09-20 18:02:54 -06:00
2016-12-13 09:29:06 -08:00
2017-01-29 19:59:42 +01:00
2017-02-22 18:51:29 -08:00
2017-01-14 11:14:55 +01:00
2016-10-24 08:12:35 -02:00
2017-02-13 09:17:54 -08:00
2017-03-04 11:32:18 -08:00
2016-09-20 12:38:48 -06:00
2016-09-23 11:51:43 -06:00
2017-01-03 17:33:36 +00:00
2017-02-27 18:43:46 -08:00
2017-03-04 11:32:18 -08:00
2016-09-23 13:07:27 -06:00
2017-02-08 19:32:24 +00:00
2017-03-02 17:33:52 -08:00
2016-10-07 20:19:31 -07:00
2017-01-04 14:40:52 -07:00
2016-09-20 09:09:09 -06:00
2016-12-01 10:44:08 -07:00
2016-09-20 09:54:38 -06:00
2017-01-25 12:56:05 -08:00
2017-03-03 15:48:38 -07:00
2017-01-22 10:34:17 +01:00
2017-02-27 18:43:47 -08:00
2017-03-02 10:09:00 +11:00
2017-02-27 18:43:47 -08:00
2017-02-23 08:27:25 -08:00
2016-12-18 13:30:29 -07:00
2016-10-04 13:54:07 -07:00
2017-02-16 20:10:26 +00:00
2017-03-04 11:32:18 -08:00
2017-01-04 14:36:17 -07:00
2017-02-10 11:15:08 +01:00
2017-03-01 10:26:39 +01:00
2017-03-03 15:54:55 -07:00
2017-02-22 18:51:29 -08:00
2017-03-04 11:32:18 -08:00
2017-03-09 17:01:09 -08:00
2017-02-24 14:00:23 -08:00
2017-04-10 19:10:25 +02:00
2017-02-13 09:17:53 -08:00
2017-02-02 13:50:35 -05:00
2016-12-14 16:30:12 -08:00
2016-11-16 16:17:45 -07:00
2016-10-24 08:12:35 -02:00
2017-03-03 16:12:30 -07:00
2016-09-20 17:58:46 -06:00
2016-09-26 22:16:41 +05:30
2017-01-19 15:56:19 +00:00
2017-02-12 15:20:07 -07:00
2017-01-26 15:08:06 -07:00
2017-01-26 15:30:34 -07:00
2017-01-05 15:01:54 -06:00
2016-11-19 10:22:04 -07:00
2016-10-24 08:12:35 -02:00
2017-02-27 18:43:46 -08:00
2016-10-24 08:12:35 -02:00
2016-10-10 07:12:02 -06:00
2017-02-15 15:22:47 -07:00
2017-01-14 21:29:15 -08:00
2017-02-27 18:43:47 -08:00
2017-01-13 16:25:17 +01:00
2016-10-02 22:50:21 -07:00
2016-10-24 08:12:35 -02:00
2017-01-09 13:58:57 -05:00
2017-02-15 09:02:26 -05:00
2016-10-24 08:12:35 -02:00
2016-10-25 14:40:39 +02:00
2016-12-27 13:08:42 -07:00
2016-12-30 08:13:41 -07:00