diff options
author | James Morse <[email protected]> | 2021-07-28 17:06:22 +0000 |
---|---|---|
committer | Borislav Petkov <[email protected]> | 2021-08-11 15:43:54 +0200 |
commit | 1c290682c0c9c47aa7594ffc83b9cedd20c1ec87 (patch) | |
tree | 593b3ef746ae03dc30e7d1521cc0c51ad591b54f /tools/testing/selftests/bpf/prog_tests/autoload.c | |
parent | eb6f3187694158ca36e50083e861531488d5c1b1 (diff) |
x86/resctrl: Pass the schema to resctrl filesystem functions
Once the CDP resources are merged, there will be two struct
resctrl_schema for one struct rdt_resource. CDP becomes a type of
configuration that belongs to the schema.
Helpers like rdtgroup_cbm_overlaps() need access to the schema to query
the configuration (or configurations) based on schema properties.
Change these functions to take a struct schema instead of the struct
rdt_resource. All the modified functions are part of the filesystem code
that will move to /fs/resctrl once it is possible to support a second
architecture.
Signed-off-by: James Morse <[email protected]>
Signed-off-by: Borislav Petkov <[email protected]>
Reviewed-by: Jamie Iles <[email protected]>
Reviewed-by: Reinette Chatre <[email protected]>
Tested-by: Babu Moger <[email protected]>
Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/autoload.c')
0 files changed, 0 insertions, 0 deletions