summaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorDavid Rientjes <rientjes@google.com>2017-04-07 16:05:00 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-07-05 14:40:17 +0200
commitb1355226a64e6301ca63aee1e78728887e3527f1 (patch)
tree79471d0632212d858d76c69d018d4e6ed7d138ff /fs
parentdbc808362b6cb2124f36b14ce354abcc64b6f1bb (diff)
downloadlinux-stable-b1355226a64e6301ca63aee1e78728887e3527f1.tar.gz
linux-stable-b1355226a64e6301ca63aee1e78728887e3527f1.tar.bz2
linux-stable-b1355226a64e6301ca63aee1e78728887e3527f1.zip
mm, swap_cgroup: reschedule when neeed in swap_cgroup_swapoff()
commit 460bcec84e11c75122ace5976214abbc596eb91b upstream. We got need_resched() warnings in swap_cgroup_swapoff() because swap_cgroup_ctrl[type].length is particularly large. Reschedule when needed. Link: http://lkml.kernel.org/r/alpine.DEB.2.10.1704061315270.80559@chino.kir.corp.google.com Signed-off-by: David Rientjes <rientjes@google.com> Acked-by: Michal Hocko <mhocko@suse.com> Cc: Johannes Weiner <hannes@cmpxchg.org> Cc: Vladimir Davydov <vdavydov.dev@gmail.com> Cc: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> Cc: Ben Hutchings <ben.hutchings@codethink.co.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions