diff options
author | Peter Newman <[email protected]> | 2023-04-19 14:50:13 +0200 |
---|---|---|
committer | Borislav Petkov (AMD) <[email protected]> | 2023-06-07 12:15:18 +0200 |
commit | c45c06d4ae63a0714efbfa435c5a8f64a5f35b9b (patch) | |
tree | 79aadf3fdcf7a953d1249046899b564adecb46e3 /scripts/gdb/linux | |
parent | 2997d94b5dd0e8b10076f5e0b6f18410c73e28bd (diff) |
x86/resctrl: Factor rdtgroup lock for multi-file ops
rdtgroup_kn_lock_live() can only release a kernfs reference for a single
file before waiting on the rdtgroup_mutex, limiting its usefulness for
operations on multiple files, such as rename.
Factor the work needed to respectively break and unbreak active
protection on an individual file into rdtgroup_kn_{get,put}().
No functional change.
Signed-off-by: Peter Newman <[email protected]>
Signed-off-by: Borislav Petkov (AMD) <[email protected]>
Reviewed-by: Reinette Chatre <[email protected]>
Tested-by: Babu Moger <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'scripts/gdb/linux')
0 files changed, 0 insertions, 0 deletions