diff options
author | Babu Moger <[email protected]> | 2023-10-16 19:23:04 -0500 |
---|---|---|
committer | Borislav Petkov (AMD) <[email protected]> | 2023-10-17 12:50:53 +0200 |
commit | d27567a0eb54be457b25e240593fdbd1c35c8618 (patch) | |
tree | bd79b2c0cec1789e09428175379ad9d8883b8bd4 /tools/perf/scripts/python/sched-migration.py | |
parent | df5f3a1dd8a6d3ddb1f07a10817f735194717422 (diff) |
x86/resctrl: Move default group file creation to mount
The default resource group and its files are created during kernel init
time. Upcoming changes will make some resctrl files optional based on
a mount parameter. If optional files are to be added to the default
group based on the mount option, then each new file needs to be created
separately and call kernfs_activate() again.
Create all files of the default resource group during resctrl mount,
destroyed during unmount, to avoid scattering resctrl file addition
across two separate code flows.
Signed-off-by: Babu Moger <[email protected]>
Signed-off-by: Borislav Petkov (AMD) <[email protected]>
Reviewed-by: Peter Newman <[email protected]>
Reviewed-by: Tan Shaopeng <[email protected]>
Reviewed-by: Fenghua Yu <[email protected]>
Reviewed-by: Reinette Chatre <[email protected]>
Reviewed-by: Ilpo Järvinen <[email protected]>
Tested-by: Peter Newman <[email protected]>
Tested-by: Tan Shaopeng <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions