From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5C36DC433F5 for ; Thu, 14 Oct 2021 15:23:41 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id DB3AF61053 for ; Thu, 14 Oct 2021 15:23:40 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org DB3AF61053 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=cmpxchg.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=kvack.org Received: by kanga.kvack.org (Postfix) id 7091F900003; Thu, 14 Oct 2021 11:23:40 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 6B866900002; Thu, 14 Oct 2021 11:23:40 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 5A78E900003; Thu, 14 Oct 2021 11:23:40 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0103.hostedemail.com [216.40.44.103]) by kanga.kvack.org (Postfix) with ESMTP id 4B3CA900002 for ; Thu, 14 Oct 2021 11:23:40 -0400 (EDT) Received: from smtpin24.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay02.hostedemail.com (Postfix) with ESMTP id C4E7E2D253 for ; Thu, 14 Oct 2021 15:23:39 +0000 (UTC) X-FDA: 78695412558.24.DC9DA3B Received: from mail-qt1-f176.google.com (mail-qt1-f176.google.com [209.85.160.176]) by imf10.hostedemail.com (Postfix) with ESMTP id C07FF6001988 for ; Thu, 14 Oct 2021 15:23:37 +0000 (UTC) Received: by mail-qt1-f176.google.com with SMTP id w8so6079678qts.4 for ; Thu, 14 Oct 2021 08:23:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cmpxchg-org.20210112.gappssmtp.com; s=20210112; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=By52BGa835IE4lyaZQwwtW5rAiE3tQH6DwCoYXbpm9E=; b=acZGhTzeICP5dR16o7d44zA806wjXfAFaH1u+XIyklzn3XApXetVdZA3xTVlo6FV5W 7mhpqHdrKn7qQG7YCGWrsqMSJ/LTR/sUkidAix1OyA/T5a0UqzOy5hF3mNNla4ltmNFv Oay9ZIvxwsHCCOhe7oxdDn96wZcPm2/8GRVyNXK3Tsya2KnW4E7zPJ8qnAmCU+MNu/ve HLuf6dKzLLJhCV4MCVolKpTi/TjWPmfzTh0oahUwDKa7TbJkhez4zxc3/dtIjbEd9/lt Hx+Gx9w2Nxx8DFDInfXyLREY1KDQ3Irf/QLYT1oM84jVfQXe/4exZYV8UPDJWWWD9OtT spzg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=By52BGa835IE4lyaZQwwtW5rAiE3tQH6DwCoYXbpm9E=; b=EPMiebelDxKQdRnNKmaDHOL1nB88TYvxgtpjqprZPd+Gcf7bVP25L4nfUKOOlxkcIo Y2bxDTXwzRRxF7c+M+gxx3fMJaDX+haDbVjTG81gCL7/I2hPAJjKmzcSwnGw9I+j6pD6 1FlZgYEfDwXbn3+0zSbvO8A0t4H2HVXczp0ELXaYHOMfE9fJcCYnX4y3nhfjdjaQLB2p 8+nuqWVf1l5u+yfn84yqa8sdaPWYzH/ZT/u90rW7/Ry4/xUuuTEa/LwPslaHbYkrp42X w5Za0t5K/DYuMCGU4D8eWa9c32dVqQHfQsIKc6bP0e+02Cu+8rmuY3m/PUSvbyJAyBZB H98g== X-Gm-Message-State: AOAM531QRxKj0sqJU3MBFdnVIjDtJ2Zd/xqCuSbelgD5tI9c2i/0oZXN Gfmh39fIEidhryqQyogdN3j7VjRZTFaMZg== X-Google-Smtp-Source: ABdhPJzE7r2rfWUK2qYhXEwBeOTjEW/L3joNadlJWl12vUxkrAc2juqTsYkH1xjBMZA0vKgRe74Atw== X-Received: by 2002:a05:622a:88:: with SMTP id o8mr7363114qtw.244.1634225018371; Thu, 14 Oct 2021 08:23:38 -0700 (PDT) Received: from localhost (cpe-98-15-154-102.hvc.res.rr.com. [98.15.154.102]) by smtp.gmail.com with ESMTPSA id 201sm1430966qkm.34.2021.10.14.08.23.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Oct 2021 08:23:37 -0700 (PDT) Date: Thu, 14 Oct 2021 11:23:36 -0400 From: Johannes Weiner To: Shakeel Butt Cc: Michal Hocko , Mel Gorman , Uladzislau Rezki , Vasily Averin , Roman Gushchin , Andrew Morton , Cgroups , Linux MM , LKML Subject: Re: [PATCH] memcg: page_alloc: skip bulk allocator for __GFP_ACCOUNT Message-ID: References: <20211013194338.1804247-1-shakeelb@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Rspamd-Server: rspam06 X-Rspamd-Queue-Id: C07FF6001988 X-Stat-Signature: fc93yi8qegbyics11wj1879976s8zxr3 Authentication-Results: imf10.hostedemail.com; dkim=pass header.d=cmpxchg-org.20210112.gappssmtp.com header.s=20210112 header.b=acZGhTze; dmarc=pass (policy=none) header.from=cmpxchg.org; spf=pass (imf10.hostedemail.com: domain of hannes@cmpxchg.org designates 209.85.160.176 as permitted sender) smtp.mailfrom=hannes@cmpxchg.org X-HE-Tag: 1634225017-254686 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: On Thu, Oct 14, 2021 at 08:01:16AM -0700, Shakeel Butt wrote: > Regarding xfs_buf_alloc_pages(), it is not using __GFP_ACCOUNT It probably should, actually. Sorry, somewhat off-topic, but we've seen this consume quite large amounts of memory. __GFP_ACCOUNT and vmstat tracking seems overdue for this one.