diff options
author | 2023-04-19 14:50:13 +0200 | |
---|---|---|
committer | 2023-06-07 12:15:18 +0200 | |
commit | c45c06d4ae63a0714efbfa435c5a8f64a5f35b9b (patch) | |
tree | 79aadf3fdcf7a953d1249046899b564adecb46e3 /scripts/generate_rust_analyzer.py | |
parent | x86/resctrl: Only show tasks' pid in current pid namespace (diff) | |
download | wireguard-linux-c45c06d4ae63a0714efbfa435c5a8f64a5f35b9b.tar.xz wireguard-linux-c45c06d4ae63a0714efbfa435c5a8f64a5f35b9b.zip |
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 <peternewman@google.com>
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Reviewed-by: Reinette Chatre <reinette.chatre@intel.com>
Tested-by: Babu Moger <babu.moger@amd.com>
Link: https://lore.kernel.org/r/20230419125015.693566-2-peternewman@google.com
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions