diff options
author | Mateusz Guzik <[email protected]> | 2024-08-13 16:36:26 +0200 |
---|---|---|
committer | Christian Brauner <[email protected]> | 2024-08-30 08:22:38 +0200 |
commit | 57510c58b5832c8cb36516cdba48543133f3ab85 (patch) | |
tree | f06ee8ab8435583768bb8798ddcfbc2f742a79e3 /lib/memory-notifier-error-inject.c | |
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 <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Reviewed-by: Zhihao Cheng <[email protected]>
Reviewed-by: Jeff Layton <[email protected]>
Reviewed-by: Jan Kara <[email protected]>
Signed-off-by: Christian Brauner <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions