Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp670932iog; Thu, 30 Jun 2022 08:04:34 -0700 (PDT) X-Google-Smtp-Source: AGRyM1t3COOBiiKPLx/BNhJIRqftjWyNQ69X521AW4Vv+Xcf5kcEkl7X/QUgsKPjeotfz9yQsTeO X-Received: by 2002:a05:6a00:1a08:b0:510:a1db:1a91 with SMTP id g8-20020a056a001a0800b00510a1db1a91mr15100097pfv.69.1656601474616; Thu, 30 Jun 2022 08:04:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1656601474; cv=none; d=google.com; s=arc-20160816; b=oBN+lCqBG4dyeiAyPcPkv9EELfvhTpaZ/fxFrr3UcPXsXOSQsMF7BWwRMt9Tfu+Dzj pap3yF3aZivzbVSJR9vmQ+Ng2X2fYAsb9tWo06ey3f2ggl7ml7qkG64NH1uF3S1Blym3 pVJ93YXfxXldfSTVs3FxnmHB7kKzjnVc+gwNyyuGpur3+WvyErdDNEGFA/UUr+sCp3/m rUtOaSgqK1MB3vAE7S5ve1ymb4mqR71SCqnmZALDmsqYAKi66fKqCLgp/l9MSgbpLIGv gWE/vMY7OeUgRMl/teS2oVhj6dDiFTEC353MEk0T6GqYB7NRrHZceW+kFw4R/dRE4UZ1 TDFg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=9sVpG9rw+5yvfJDEn00fP0oAwAgYQhlkWm1yb+6MkVQ=; b=qtyTkPcCBtD52JBVdemys20qNCwOjqMEtvQv4bfU/9dz8H+9xVrzSs8eTd+iL6Cv39 jaFhS+Iol7sYxm0RPCno9ZFEUxe37CBTN5ECxPfRCOC1goI0Smfpp4ZpIy9YCZqvJjTE yf2WFw9OwnYb8TqR482nJVPHBPM+Kb5MgEfxjVsnRkRwZxQdFGv9LMXaJvaMnS+WUyVL rb0Ds7iJrX8KM5YckeiRicwPCld7pFVe58Un9RPIniiJczeQA0Yhf9zG05r9+rDWuMJr +spAkEkKeEOjs9Ut4r77wwYhK6QFh30llSwQYsEMoe5TDPrOW5dlHzaTn9kPWoSVhFxv rlOw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20210112 header.b=NiW6mwj9; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id y5-20020a655a05000000b0040242f36212si27476790pgs.287.2022.06.30.08.04.21; Thu, 30 Jun 2022 08:04:34 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20210112 header.b=NiW6mwj9; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235362AbiF3PCc (ORCPT + 99 others); Thu, 30 Jun 2022 11:02:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39356 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235286AbiF3PCW (ORCPT ); Thu, 30 Jun 2022 11:02:22 -0400 Received: from mail-pj1-x1032.google.com (mail-pj1-x1032.google.com [IPv6:2607:f8b0:4864:20::1032]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B33D41FCDB for ; Thu, 30 Jun 2022 08:02:21 -0700 (PDT) Received: by mail-pj1-x1032.google.com with SMTP id m14-20020a17090a668e00b001ee6ece8368so3376406pjj.3 for ; Thu, 30 Jun 2022 08:02:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=9sVpG9rw+5yvfJDEn00fP0oAwAgYQhlkWm1yb+6MkVQ=; b=NiW6mwj9iUsBV+W7Ai/+PWhAw39Y9q6S++ER4iQXFo1lO5ubXIPgQGODZnubh4TpZ9 0N2XCniSpn8Y8y6CCkYJty8KQ9Iot6ipgDn8K1kbsIRsp5bm2Y3+1OpgSLWu3VhYSIam NPFLUooLt7L7siRALdEECBO9DTHlbHS4Vq131X17ZqvvLP4ozqDximEx5OzBtbGuGzkZ zPXeaESFKYAtphPdPOeq5RUameMhlbkH6tuWpqq6yLpzFQxr6hWYPN/0VxiWJshDRhKC +rMkNz+405Ymt7j75iU6v0ugXDphKKBxrFsJ5Kz24upvEQLX1rK0J/ygvYxNaepQ5HNq gI9Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=9sVpG9rw+5yvfJDEn00fP0oAwAgYQhlkWm1yb+6MkVQ=; b=rHWo2Pa3ge78mnv+l93itZvsi4sz1W0X1l30ix92ZCTMq/Ch3PHQ9F5esmnzV2q8L+ q0xVQx0zd1qYkZjHsVQAihXqiuj9OpZHncyO+Aj+th5TpsSZWfN17eeUlyENBySuh8D5 K7vf1965C/xxiN7CYLiKXbzvyvyrqlpGgM4FUh6t1Lgjxm0nLn3j8Bx/A97xOeUCNrET Np3IzvkADFhq430OJWoOHEyYgaufc1oRrnzFSGCXkedg0RZIJP9nxK643fNRwAoJvPPl 4fv3nLv7Z3t++OayN6iFKcYxNenTADQ95v5xSVsoWT3o5/aTQJIAqjNk1ElCiugXFaUo D37w== X-Gm-Message-State: AJIora+BkkLbxT45bRWwj/1eB1fOrfskWu8+K8CnM/CXpszXSjJR1ADp C+4M1m0OK1XxiViEnuNm8bMcsWY3lK0iRFbz6V9agg== X-Received: by 2002:a17:90b:1d8c:b0:1ed:54c3:dcca with SMTP id pf12-20020a17090b1d8c00b001ed54c3dccamr12512122pjb.126.1656601340985; Thu, 30 Jun 2022 08:02:20 -0700 (PDT) MIME-Version: 1.0 References: <20220630083044.997474-1-yosryahmed@google.com> In-Reply-To: <20220630083044.997474-1-yosryahmed@google.com> From: Shakeel Butt Date: Thu, 30 Jun 2022 08:02:10 -0700 Message-ID: Subject: Re: [PATCH v3] mm: vmpressure: don't count proactive reclaim in vmpressure To: Yosry Ahmed Cc: Johannes Weiner , Michal Hocko , Roman Gushchin , Muchun Song , Andrew Morton , Matthew Wilcox , Vlastimil Babka , David Hildenbrand , Miaohe Lin , NeilBrown , Alistair Popple , Suren Baghdasaryan , Peter Xu , LKML , Cgroups , Linux MM Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-17.6 required=5.0 tests=BAYES_00,DKIMWL_WL_MED, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, ENV_AND_HDR_SPF_MATCH,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE,USER_IN_DEF_DKIM_WL,USER_IN_DEF_SPF_WL autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jun 30, 2022 at 1:30 AM Yosry Ahmed wrote: > > vmpressure is used in cgroup v1 to notify userspace of reclaim > efficiency events, and is also used in both cgroup v1 and v2 as a signal > for memory pressure for networking, see > mem_cgroup_under_socket_pressure(). > > Proactive reclaim intends to probe memcgs for cold memory, without > affecting their performance. Hence, reclaim caused by writing to > memory.reclaim should not trigger vmpressure. > > Signed-off-by: Yosry Ahmed Acked-by: Shakeel Butt