diff options
author | Mateusz Guzik <mjguzik@gmail.com> | 2024-08-13 16:36:26 +0200 |
---|---|---|
committer | Christian Brauner <brauner@kernel.org> | 2024-08-30 08:22:38 +0200 |
commit | 57510c58b5832c8cb36516cdba48543133f3ab85 (patch) | |
tree | f06ee8ab8435583768bb8798ddcfbc2f742a79e3 /Documentation | |
parent | 3a987b88a42593875f6345188ca33731c7df728c (diff) |
vfs: drop one lock trip in evict()
Most commonly neither I_LRU_ISOLATING nor I_SYNC are set, but the stock
kernel takes a back-to-back relock trip to check for them.
It probably can be avoided altogether, but for now massage things back
to just one lock acquire.
Signed-off-by: Mateusz Guzik <mjguzik@gmail.com>
Link: https://lore.kernel.org/r/20240813143626.1573445-1-mjguzik@gmail.com
Reviewed-by: Zhihao Cheng <chengzhihao1@huawei.com>
Reviewed-by: Jeff Layton <jlayton@kernel.org>
Reviewed-by: Jan Kara <jack@suse.cz>
Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions