Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp2215093pxa; Mon, 24 Aug 2020 08:15:09 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzI/oFbCG9cphS8P1nGKWAoBZasJX8uC0vPcFg+3IAXlu+FsvjLUAx3hsfPqa9sI7ZanpiI X-Received: by 2002:a17:906:84ef:: with SMTP id zp15mr6453975ejb.468.1598282109398; Mon, 24 Aug 2020 08:15:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1598282109; cv=none; d=google.com; s=arc-20160816; b=ZW/hKXomCG6+7eFBoSyhqyt1oKhlCbXUAmIhyv48+jl3bmrcrn2z2dCnbpEHzcDy6l +0zshUP/84D0f9S/NuA3SpQTg58ZduUYdmy+XB3tiEkNGNILyw7G2A3hAhZDm7hG8bDj OoreBzLFBcr/NG4m5WFxvF8g16usE1fE4/CXJIpyz8sx/++edVVQ/7uJg51X3LN5XU3Y TG8s2eoNTeySTKKUuRmS6pd0MBNLbyP9IW3zp3Q3wmoAgUpc99ZwcBARuGef02q58zz3 iCc9PkqtAkLg+h0Qkj9U5tCm2hmYrZXESyEh3Bu35QyJlH3w4rGOHAk5KB1Ck1mU6wqt esXw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=xmRXhbA+ct70z3xSP7KJwYdLhepDhWXP6vtiEFfdbxs=; b=h36qxYJ9OLLphQg19U9OJBBO3KUxYayG025rCd24Hpy8z/vjGoxKhGXTBV4eYQPEzK jf9KGlf3SfsESX2ofAyBwYVJgosjfsFRNgNIqCNf7W0u0xWbxpVptilhGSupzAwiza0x 2DjsBlYGeMdPaDPBhlB+x/qhBBIW5cumH48tT/J9gix/3+0LUmNVWlJH0RDSmIuOwsgo PTuzLTjTarJCoJbWp36v6CudRT4ThchwP0f4lZOC22ccNpEWJDnDY4WojO3Ln/Dz4vFx 7R5hpHisywYeWPh7kIhKynunSH6iDsZB+I5yE84q+wKloY/yc9uFMQh1FAIgwuf0KAnQ Tz7A== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id a17si6977500ejt.20.2020.08.24.08.14.45; Mon, 24 Aug 2020 08:15:09 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727943AbgHXPLY (ORCPT + 99 others); Mon, 24 Aug 2020 11:11:24 -0400 Received: from mx2.suse.de ([195.135.220.15]:39302 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726884AbgHXPKw (ORCPT ); Mon, 24 Aug 2020 11:10:52 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.221.27]) by mx2.suse.de (Postfix) with ESMTP id E3AABAB8B; Mon, 24 Aug 2020 15:11:17 +0000 (UTC) Date: Mon, 24 Aug 2020 17:10:45 +0200 From: Michal Hocko To: Qian Cai Cc: Alex Shi , akpm@linux-foundation.org, Johannes Weiner , Vladimir Davydov , cgroups@vger.kernel.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org, sfr@canb.auug.org.au, linux-next@vger.kernel.org Subject: Re: [Resend PATCH 1/6] mm/memcg: warning on !memcg after readahead page charged Message-ID: <20200824151045.GC3415@dhcp22.suse.cz> References: <1597144232-11370-1-git-send-email-alex.shi@linux.alibaba.com> <20200820145850.GA4622@lca.pw> <20200824145201.GB4337@lca.pw> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200824145201.GB4337@lca.pw> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon 24-08-20 10:52:02, Qian Cai wrote: > On Thu, Aug 20, 2020 at 10:58:50AM -0400, Qian Cai wrote: > > On Tue, Aug 11, 2020 at 07:10:27PM +0800, Alex Shi wrote: > > > Since readahead page is charged on memcg too, in theory we don't have to > > > check this exception now. Before safely remove them all, add a warning > > > for the unexpected !memcg. > > > > > > Signed-off-by: Alex Shi > > > Acked-by: Michal Hocko > > > > This will trigger, > > Andrew, Stephen, can you drop this series for now? I did manage to trigger this > warning on all arches, powerpc, x86 and arm64 (below). Yes, I do agree. See http://lkml.kernel.org/r/20200824151013.GB3415@dhcp22.suse.cz -- Michal Hocko SUSE Labs