Re: [patch] mm, swap_cgroup: reschedule when neeed in swap_cgroup_swapoff()

From: Johannes Weiner
Date: Mon Apr 10 2017 - 10:19:10 EST


On Thu, Apr 06, 2017 at 01:16:24PM -0700, David Rientjes wrote:
> We got need_resched() warnings in swap_cgroup_swapoff() because
> swap_cgroup_ctrl[type].length is particularly large.
>
> Reschedule when needed.
>
> Signed-off-by: David Rientjes <rientjes@xxxxxxxxxx>

Acked-by: Johannes Weiner <hannes@xxxxxxxxxxx>