Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753677AbdDJOTH (ORCPT ); Mon, 10 Apr 2017 10:19:07 -0400 Received: from gum.cmpxchg.org ([85.214.110.215]:44496 "EHLO gum.cmpxchg.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753259AbdDJOTG (ORCPT ); Mon, 10 Apr 2017 10:19:06 -0400 Date: Mon, 10 Apr 2017 10:19:01 -0400 From: Johannes Weiner To: David Rientjes Cc: Andrew Morton , Vladimir Davydov , KAMEZAWA Hiroyuki , linux-kernel@vger.kernel.org, linux-mm@kvack.org Subject: Re: [patch] mm, swap_cgroup: reschedule when neeed in swap_cgroup_swapoff() Message-ID: <20170410141901.GC16119@cmpxchg.org> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.8.0 (2017-02-23) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 319 Lines: 9 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 Acked-by: Johannes Weiner