Received: by 10.192.165.148 with SMTP id m20csp3167750imm; Mon, 7 May 2018 07:47:12 -0700 (PDT) X-Google-Smtp-Source: AB8JxZqU7JGkd8DAD2nVp7d4or09+xmVQslm5rPcv0Wt5Kk0NOGdENmvstLF+k6GPPL9K16mF3N6 X-Received: by 2002:a9d:524e:: with SMTP id q14-v6mr27691541otg.240.1525704432768; Mon, 07 May 2018 07:47:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525704432; cv=none; d=google.com; s=arc-20160816; b=hvCd2n9UnhCPdIQRsQJgpUIDDB/fs/itYyxl6Uy5WiSg6Iyhj+ZuJtDCX9kQn7PE1k 6CkYsWxB6PMzLLVXeFuhQe//zpVkqhoQr6L2Ku1482pZNyta2NX8LysLi2+Wv5pwz5xn OeW7knBpcl/2Rr4Wr1abpdJT0fqox34yQwLzxc3H+rRdYHIzamO9MddK4gU/KlEysE3j n3ynTTdEOK5aZXAs9XLsWgS+9Ow+jZLl6GlLE4W7pxfobg5yzBbsPmXT6XeFbfGR2bia MVn8SpnOUfiSEt8xNI8QCPt6XuijTonWPIIMPT/8vqtZ9P8fHeH9bvTDPdaMBYTLiiAO fluQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature:arc-authentication-results; bh=L6HTJmiDynKQpG0v0Bzt4OzZY1X6/KqVLxvajjEo9dk=; b=XJqFYUhOnYRli1iYT4VOgb42K9eTzDqHKLm0K8WZjGB3XHp4ZvA41burPpUIHa0QeR GNkcmFwt90Y3bxyBBMfkENaq+y2N9JDkPIA5Qb6U1p8P0xhH5DMNLskhd1m+WcaSSm34 4VD/iShZ/aMv0sn+SA3MDigNEloCUIPfRrs0KrhBTetDdbsyHKzAGOUajWt/rB2XfefD 1DJUpihBuFpMeovjruNEA+I2vM6mC2fuSBVzJ52g8KSa8E0noqStMLfy4XLX/rvtsTrP 5aEcW6ErF/Zz80457/F4Es7h517cdv/oWH7Um0XJNee4Aw87/BxZZZxjAquV3hNDMRx1 DoiQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@cmpxchg.org header.s=x header.b=aIPQ/iVs; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=cmpxchg.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g75-v6si4989197oib.239.2018.05.07.07.46.58; Mon, 07 May 2018 07:47:12 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@cmpxchg.org header.s=x header.b=aIPQ/iVs; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=cmpxchg.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752425AbeEGOqs (ORCPT + 99 others); Mon, 7 May 2018 10:46:48 -0400 Received: from gum.cmpxchg.org ([85.214.110.215]:49432 "EHLO gum.cmpxchg.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752166AbeEGOqr (ORCPT ); Mon, 7 May 2018 10:46:47 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=cmpxchg.org ; s=x; h=In-Reply-To:Content-Type:MIME-Version:References:Message-ID:Subject: Cc:To:From:Date:Sender:Reply-To:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=L6HTJmiDynKQpG0v0Bzt4OzZY1X6/KqVLxvajjEo9dk=; b=aIPQ/iVsu42d7/RHDX90+U68kj fckLdqaAapvuuh8J91iMSxfSTCCkTqITPUMs5AIDkQLhkUJtqbS4ss4jXJwWMIpCadCBU0Qh7/fvw IB5NyKSadWRdK3XH6qKWhsPlyffU4+nyg4YrbQ+kti9dB0IWM+FL79Dy9lQnYFOAfZDs=; Date: Mon, 7 May 2018 10:48:35 -0400 From: Johannes Weiner To: Shakeel Butt Cc: Michal Hocko , Andrew Morton , Greg Thelen , Vladimir Davydov , Linux MM , Cgroups , LKML Subject: Re: [PATCH] mm: memcontrol: drain stocks on resize limit Message-ID: <20180507144835.GA5163@cmpxchg.org> References: <20180504205548.110696-1-shakeelb@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180504205548.110696-1-shakeelb@google.com> User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, May 04, 2018 at 01:55:48PM -0700, Shakeel Butt wrote: > Resizing the memcg limit for cgroup-v2 drains the stocks before > triggering the memcg reclaim. Do the same for cgroup-v1 to make the > behavior consistent. > > Signed-off-by: Shakeel Butt Acked-by: Johannes Weiner