Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp2496192pxa; Mon, 24 Aug 2020 16:17:34 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz5QH72THvsZPbobErBz20C/hzk30maFrk9bbQnQKVdXyQEo0sKsdi1F0bqil7fiOizusQ4 X-Received: by 2002:a17:906:140e:: with SMTP id p14mr7915777ejc.430.1598311054203; Mon, 24 Aug 2020 16:17:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1598311054; cv=none; d=google.com; s=arc-20160816; b=K1h1wJQB2RrbW5F3tnaIT6Nt8KpT6oZLXKYXC/aviMYbX11neVOb4+KTIn9I44vb4J PS1Y53DOyGHUuxqfbHt1njhZ6ghaJVaUIeoIDtEmm4U9bq+gtNvYai2WKwwnFzgfu4Fw NRYwNcddgSzI4LCvQAZjFuHZuTupuOdHhk1XolFKmLWOrh02BYZwEn3IUSmPP3jqC9Q+ 8/xYfOBW0APkuRZuIuqGDhfsq4TT7qfc7zwKX67raq3rHfycrAz2SwLXao1eM+gs8D/U oJzseZ4ByRgQhSP3hwHhRRBGpqlZxZn8lfHtMPgoTKPT2gJi9V5dvzV+rWhSsgqrrocf 5YvQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:in-reply-to :mime-version:user-agent:date:message-id:from:references:cc:to :subject; bh=URdQqrYIxj2D/7bEzLxqckWlHIhQ8D8jNROa5AYUmzE=; b=BV3Z0tyMtOGdY7JGm1a+d6VRUPvfmraB2jWPEZ+i1qYdR7KPi5b/SjkJvcDxcvEzk5 CJZ6Cw5xuIMW5JMqz9Ik3PV+2rxlvUImroyk5IMHFeYS8SEoCIQXlmi5GISMkh0f6hkB E6D2ux2W84KVb/GfBET0NAym38SRKEWzS+dop6vk1cdd9OPptIEVYR1BYwo/Wz7aR2nE dGNYjLeW8v80b05iLTzrfLzejEQUHB/y78s1471r+LvX0ge7OysABtHTx+WwLsl8pTXF oOAdWR3xzer16h/2ttgLJdw1Dpri70+4qGYlOINVc3hHSiT8xg8lA11VGlU4ivQLTG97 92Cw== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id pg3si8141756ejb.388.2020.08.24.16.17.11; Mon, 24 Aug 2020 16:17:34 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728093AbgHXXQQ (ORCPT + 99 others); Mon, 24 Aug 2020 19:16:16 -0400 Received: from out30-130.freemail.mail.aliyun.com ([115.124.30.130]:35313 "EHLO out30-130.freemail.mail.aliyun.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726090AbgHXXQQ (ORCPT ); Mon, 24 Aug 2020 19:16:16 -0400 X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R201e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=e01e01355;MF=alex.shi@linux.alibaba.com;NM=1;PH=DS;RN=10;SR=0;TI=SMTPD_---0U6mPOyb_1598310966; Received: from IT-FVFX43SYHV2H.lan(mailfrom:alex.shi@linux.alibaba.com fp:SMTPD_---0U6mPOyb_1598310966) by smtp.aliyun-inc.com(127.0.0.1); Tue, 25 Aug 2020 07:16:11 +0800 Subject: Re: [Resend PATCH 1/6] mm/memcg: warning on !memcg after readahead page charged To: Stephen Rothwell , Michal Hocko Cc: Qian Cai , akpm@linux-foundation.org, Johannes Weiner , Vladimir Davydov , cgroups@vger.kernel.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org, linux-next@vger.kernel.org References: <1597144232-11370-1-git-send-email-alex.shi@linux.alibaba.com> <20200820145850.GA4622@lca.pw> <20200824145201.GB4337@lca.pw> <20200824151045.GC3415@dhcp22.suse.cz> <20200825090054.3c5dd68a@canb.auug.org.au> From: Alex Shi Message-ID: <3003ffb6-f527-ae33-60f2-50cd25316fdd@linux.alibaba.com> Date: Tue, 25 Aug 2020 07:14:39 +0800 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:68.0) Gecko/20100101 Thunderbird/68.7.0 MIME-Version: 1.0 In-Reply-To: <20200825090054.3c5dd68a@canb.auug.org.au> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 在 2020/8/25 上午7:00, Stephen Rothwell 写道: >>>> 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 > OK, I have removed the following from linux-next for today: > > c443db77c9f3 ("mm/thp: narrow lru locking") > 18bafefba73d ("mm/thp: remove code path which never got into") > 5fb6c0683017 ("mm/thp: clean up lru_add_page_tail") > 9d1d568727a8 ("mm/thp: move lru_add_page_tail func to huge_memory.c") > 47eb331560ff ("mm/memcg: bail out early from swap accounting when memcg is disabled") > 4b0d99a64d78 ("mm/memcg: warning on !memcg after readahead page charged") The first patch 4b0d99a64d78 ("mm/memcg: warning on !memcg after readahead page charged") reveals the hugetlb out of lru on some unexpected path. At least comments are helpful. All other are good and functional. Thanks Alex