diff options
author | 2025-03-05 13:36:42 +0100 | |
---|---|---|
committer | 2025-03-05 18:31:23 +0100 | |
commit | 3e46a92a27c2927fcef996ba06cbe299da629c28 (patch) | |
tree | d0cd5b77da9ff8a40676eac145c839d5bb4d13e9 /scripts/generate_rust_analyzer.py | |
parent | file: add fput and file_ref_put routines optimized for use when closing a fd (diff) | |
download | wireguard-linux-3e46a92a27c2927fcef996ba06cbe299da629c28.tar.xz wireguard-linux-3e46a92a27c2927fcef996ba06cbe299da629c28.zip |
fs: use fput_close_sync() in close()
This bumps open+close rate by 1% on Sapphire Rapids by eliding one
atomic.
It would be higher if it was not for several other slowdowns of the same
nature.
Signed-off-by: Mateusz Guzik <mjguzik@gmail.com>
Link: https://lore.kernel.org/r/20250305123644.554845-3-mjguzik@gmail.com
Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions