aboutsummaryrefslogtreecommitdiff
path: root/drivers/fpga/fpga-bridge.c
diff options
context:
space:
mode:
authorYu Zhao <[email protected]>2024-07-08 15:27:53 -0600
committerAndrew Morton <[email protected]>2024-07-12 15:52:22 -0700
commit61c663e020d263eaecc7f09afa40f7bbe160931e (patch)
treec96131403456bbbaa8159e8ef0aa68367c2725e5 /drivers/fpga/fpga-bridge.c
parent8a78882dac1c8c464e047a29415edb50421651ce (diff)
mm/truncate: batch-clear shadow entries
Make clear_shadow_entry() clear shadow entries in `struct folio_batch` so that it can reduce contention on i_lock and i_pages locks, e.g., watchdog: BUG: soft lockup - CPU#29 stuck for 11s! [fio:2701649] clear_shadow_entry+0x3d/0x100 mapping_try_invalidate+0x117/0x1d0 invalidate_mapping_pages+0x10/0x20 invalidate_bdev+0x3c/0x50 blkdev_common_ioctl+0x5f7/0xa90 blkdev_ioctl+0x109/0x270 Also, rename clear_shadow_entry() to clear_shadow_entries() accordingly. [[email protected]: v2] Link: https://lkml.kernel.org/r/[email protected] Link: https://lkml.kernel.org/r/[email protected] Reported-by: Bharata B Rao <[email protected]> Closes: https://lore.kernel.org/[email protected]/ Signed-off-by: Yu Zhao <[email protected]> Cc: Mel Gorman <[email protected]> Cc: Johannes Weiner <[email protected]> Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-bridge.c')
0 files changed, 0 insertions, 0 deletions