xen/cpupool: add scheduling granularity entry to hypfs entries
authorJuergen Gross <jgross@suse.com>
Fri, 22 Jan 2021 11:14:58 +0000 (12:14 +0100)
committerJan Beulich <jbeulich@suse.com>
Fri, 22 Jan 2021 11:14:58 +0000 (12:14 +0100)
commitd6275b9a6452747e0f7e95828c57f57251cf0f06
tree4e3220c694f416bc83bdc1e5bd0440203ea1c484
parent31bbb4db79fa166849698a15d661220eb3df2a64
xen/cpupool: add scheduling granularity entry to hypfs entries

Add a "sched-gran" entry to the per-cpupool hypfs directories.

For now make this entry read-only and let it contain one of the
strings "cpu", "core" or "socket".

Signed-off-by: Juergen Gross <jgross@suse.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Dario Faggioli <dfaggioli@suse.com>
docs/misc/hypfs-paths.pandoc
xen/common/sched/cpupool.c