Received: by 2002:a25:1104:0:0:0:0:0 with SMTP id 4csp411738ybr; Fri, 22 May 2020 09:30:14 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwweeoKzCR1TRvrPIHZuCJvLHegTCOgdEEXwfhT7+tEtc7lCabOQS8kzX7pve8o3EqR0B5t X-Received: by 2002:a17:906:ae18:: with SMTP id le24mr9479400ejb.155.1590165013953; Fri, 22 May 2020 09:30:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1590165013; cv=none; d=google.com; s=arc-20160816; b=E/jAxCAetsmBVGpIGB33UjunusqqWaU59RV6hiJrFnYVnb8suDiMqB/as0lIMHeXEl hRlKDTH1+GmninxmQNkjY3nVE51t8j2CNWazGAYKMrGRgXN3Cjhc/neE36OkCoowVWiT mGA4ftG3Ge8iHIsZgmV6WT+MqGGdr1XCfdtBMhHq81XHUY7zDn1it7SzfkfN8sls2RVE 243xY/54o9vUymSs8KPbkgbWqpmv8zkQILQV3lFljqrp9jXs+7F1ufyYd/kK/3tz4o02 hl8CT4zjPSh14KUm9uWKq9FbFDPqtjgczT3OIvwsT8peSVjfxcba2HYK9J77YZ7S8yt7 9gQQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=TysnkmOIkLeX9KxlHLPL4xK1JYCC9XQVpNTteD8sJWI=; b=Q+Z3cCmCVMLEt15xRx2ZlTRtkmbK0cWNTtPcnyUMawwahz6rfER2bhr/iRGj8XbrqJ RwdnYUe8mbhLFK1Jji1hnN0ZWol6kUSC2fGqkhzdeO1xYuBX7wdXXoKXp+XQPSI8mxUG QaZJ980QO0TadBE9TaMnmt1FAxNk5+GY3ggpBy/T/dxoNgBvF6RTYdpEF1o0839XJEFf XQINWPQc7FlglSqkHa/rilk1zrC4rmmpuBOInOiA4yM7NNRtvtvxBGnXdC3QrOn3lje2 5WQGGA/iG58ae34PCTelDWZxU1EtBpxIKzs5JQDwik3yS4aYSGfuvDHoFseqViInRMc1 rB2w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=lfm2XyuL; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id p21si5092599ejw.285.2020.05.22.09.29.48; Fri, 22 May 2020 09:30:13 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=lfm2XyuL; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730490AbgEVQ2C (ORCPT + 99 others); Fri, 22 May 2020 12:28:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44126 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730031AbgEVQ2B (ORCPT ); Fri, 22 May 2020 12:28:01 -0400 Received: from mail-il1-x143.google.com (mail-il1-x143.google.com [IPv6:2607:f8b0:4864:20::143]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6AE15C061A0E; Fri, 22 May 2020 09:28:01 -0700 (PDT) Received: by mail-il1-x143.google.com with SMTP id j2so11258681ilr.5; Fri, 22 May 2020 09:28:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=TysnkmOIkLeX9KxlHLPL4xK1JYCC9XQVpNTteD8sJWI=; b=lfm2XyuLMBYBEMicKkNUBvKtTqemJXPbmFBeN/eDLNIxq1Id68/49Ne+gIoDwSCuxt PeZotFigJ3ZPSD9p6jTGhATFunfQ9qsPYh76th8MHBQeNDElh3K4ig7cWIiYTF1beD9I ZhK/eAXZzgrN6Zfj6BDIp8VMQbVyI5viIJjrVpBW/BnSbFVqqUN0n3+xKKdukU2d4JTt ocbVEWftg/opspRtHbRTG3DtRVxzVSXWHlF/bgAKDT0g/A+frfgtgjGZZy2+xfX+Hu+f 3xn7ErM5jt3GoVN0OtIsP+1x1V9o3ktTP2HTuxHEsbtjlbdMByZrDzBW/vFnZKr6Qwz8 CEfg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=TysnkmOIkLeX9KxlHLPL4xK1JYCC9XQVpNTteD8sJWI=; b=RNcWtUyzQu0dAIV3mrUoCPA0+jEL+CzEvqkXcEgaQdgvzFMnXy38/hYPyn6SL1ugT4 8lmPf/bNpchpCJ3E4F0pdhIpylR6iifBWmXCBDf0KMr/jNerjIM29IbzN3w3tMb5SV0b 1S6CuevfmpPwmA1ITWXFSYR4TiQKwIBy4Zk9kmP7UbiKdoERUfpqePY16q+x02rKHGOD K+rc/cum0CCTL+CfPtgax255iydtZTZZTwiPhy8H2bedaPWAWIqwjn4j8W1gSb78pA/0 tA/OB0xQ7KSH5/KpIj01fgIgdLxXx3jqHdSsA3xSHzrRZlOEmQoCUVEaZ5AHHzIWttPT basw== X-Gm-Message-State: AOAM530fGigfXKBXFpasQBoZwda9SC3gGpItA7CvVm3EYAix3Io+4qHi VvQ3DcLa7ZqRHFVL73P9BOPdDFR1cqYEf13cLX8= X-Received: by 2002:a92:10a:: with SMTP id 10mr14145774ilb.203.1590164880781; Fri, 22 May 2020 09:28:00 -0700 (PDT) MIME-Version: 1.0 References: <20200505084127.12923-1-laoar.shao@gmail.com> <20200505084127.12923-3-laoar.shao@gmail.com> <20200522160626.GB1112005@chrisdown.name> <20200522160709.GC1112005@chrisdown.name> In-Reply-To: <20200522160709.GC1112005@chrisdown.name> From: Yafang Shao Date: Sat, 23 May 2020 00:27:24 +0800 Message-ID: Subject: Re: [PATCH v3 2/2] mm, memcg: Decouple e{low,min} state mutations from protection checks To: Chris Down Cc: Naresh Kamboju , Andrew Morton , Michal Hocko , Johannes Weiner , Roman Gushchin , linux-mm , Cgroups , open list , lkft-triage@lists.linaro.org Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, May 23, 2020 at 12:07 AM Chris Down wrote: > > Chris Down writes: > >Yafang Shao writes: > >>I will do it. > >>If no one has objection to my proposal, I will send it tomorrow. > > > >If the fixup patch works, just send that. Otherwise, sure. > > Oh, I see the other reply from Naresh now saying it didn't help. > > Sure, feel free to do that for now then while we work out what the real problem > is. Regarding the root cause, my guess is it makes a similar mistake that I tried to fix in the previous patch that the direct reclaimer read a stale protection value. But I don't think it is worth to add another fix. The best way is to revert this commit. -- Thanks Yafang