diff options
author | 2024-12-23 04:34:01 +0000 | |
---|---|---|
committer | 2025-01-13 14:10:23 +0100 | |
commit | fc1055d5334f1808e3e445592a83f31624b953f1 (patch) | |
tree | d4fa5755a405ae4c7e7a324fe01be5c7d851f192 /scripts/lib/kdoc/kdoc_files.py | |
parent | x86/itmt: Convert "sysctl_sched_itmt_enabled" to boolean (diff) | |
download | wireguard-linux-fc1055d5334f1808e3e445592a83f31624b953f1.tar.xz wireguard-linux-fc1055d5334f1808e3e445592a83f31624b953f1.zip |
x86/itmt: Use guard() for itmt_update_mutex
Use guard() for itmt_update_mutex which avoids the extra mutex_unlock()
in the bailout and return paths.
Signed-off-by: K Prateek Nayak <kprateek.nayak@amd.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Reviewed-by: Tim Chen <tim.c.chen@linux.intel.com>
Link: https://lore.kernel.org/r/20241223043407.1611-3-kprateek.nayak@amd.com
Diffstat (limited to 'scripts/lib/kdoc/kdoc_files.py')
0 files changed, 0 insertions, 0 deletions