aboutsummaryrefslogtreecommitdiffstats
path: root/lib/xarray.c
diff options
context:
space:
mode:
authorJan Kara <[email protected]>2019-02-01 22:21:23 +0000
committerLinus Torvalds <[email protected]>2019-02-01 23:46:24 +0000
commitc27d82f52f75fc9d8d9d40d120d2a96fdeeada5e (patch)
tree0151720bb1ba96e8ce742674b96bef291b43fce5 /lib/xarray.c
parentmm: migrate: don't rely on __PageMovable() of newpage after unlocking it (diff)
downloadkernel-c27d82f52f75fc9d8d9d40d120d2a96fdeeada5e.tar.gz
kernel-c27d82f52f75fc9d8d9d40d120d2a96fdeeada5e.zip
fs/drop_caches.c: avoid softlockups in drop_pagecache_sb()
When superblock has lots of inodes without any pagecache (like is the case for /proc), drop_pagecache_sb() will iterate through all of them without dropping sb->s_inode_list_lock which can lead to softlockups (one of our customers hit this). Fix the problem by going to the slow path and doing cond_resched() in case the process needs rescheduling. Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Jan Kara <[email protected]> Acked-by: Michal Hocko <[email protected]> Reviewed-by: Andrew Morton <[email protected]> Cc: Al Viro <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'lib/xarray.c')
0 files changed, 0 insertions, 0 deletions