Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp233991rwb; Wed, 7 Dec 2022 17:14:30 -0800 (PST) X-Google-Smtp-Source: AA0mqf5zgXgA2AOrC5tr9iL5PS918uX6Nb0S741wxZ83YNJPgKtTwsXtGnaK4ZeUrT2zb9h4qr2Q X-Received: by 2002:a17:90b:3551:b0:218:f477:da29 with SMTP id lt17-20020a17090b355100b00218f477da29mr72267681pjb.245.1670462070001; Wed, 07 Dec 2022 17:14:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670462069; cv=none; d=google.com; s=arc-20160816; b=SbMF6qAoGYZqtTUOdwHJ8hLgrf2TRrA2qmxwM8tWq3XkSviD0thPU8NJw4G6S/DfYz vRSDFh5X9Hf2HNo0Is5AgjLzeb/9Nc1eHMC3scQ7rzD21uwjXKKaMp//fg4NGYQ5ubIA Vb0NTyBGJSutq6hr299qN19pQCzB3Te8cn0EE0qU8LW7CJozlsrwDILStpeXHqEat2UB wewYvgze0HRBgngGJQVZC+0ovMxM7aTLicTG6lLV0VnMOqfqVH5rr0JnHSo/iNVb3g1o ws38cijX3zd1cKvTB3w1dISSgLfMNGJ1dXDtq80dD6+tQwdA4gWD09knDbnrDo+FhGXL XFJA== 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=qeBXIqzSfIuH6SAUQWNL+jPx2S1sL9td+8nqZ4xaU5o=; b=Rhhys7tAgAUobLNdu5SeC4Ghx2DacnRyWWKYdeRHjJm8Ky6QFMkKzLFzqN9IslTL9E Rq7RnIUeGKltdY+RdBkeoXiBUmPLC3k2YnWfRfpjQsRZx/V1i1cJC8tgaHYmxSD93T+1 B1MR0VGK4yDkCBgu26Xdmt/maXGlpphtlRYMXez77ZIV6cy7p08Pam35Dln5swY8H+0u 5HPimJ5s6Z/tHAxSGEBz7HMxsl8wzVjl8lQxrRhTGOPF0HcxplpT8ii5zini1LZm4eIx 5intsfucxoLXKafpSzLIalldMwYQGCvqGN3XGThSd6iLrztRyhY1qq44/f7cngmtzRh0 4q+A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20210112 header.b=i8izx+Nj; 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 n3-20020a638f03000000b0047730e1a823si21914857pgd.858.2022.12.07.17.14.20; Wed, 07 Dec 2022 17:14:29 -0800 (PST) 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=i8izx+Nj; 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 S229785AbiLHAgx (ORCPT + 74 others); Wed, 7 Dec 2022 19:36:53 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53224 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229755AbiLHAgw (ORCPT ); Wed, 7 Dec 2022 19:36:52 -0500 Received: from mail-yw1-x112d.google.com (mail-yw1-x112d.google.com [IPv6:2607:f8b0:4864:20::112d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 59E8D8D679 for ; Wed, 7 Dec 2022 16:36:51 -0800 (PST) Received: by mail-yw1-x112d.google.com with SMTP id 00721157ae682-3cbdd6c00adso204617057b3.11 for ; Wed, 07 Dec 2022 16:36:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=qeBXIqzSfIuH6SAUQWNL+jPx2S1sL9td+8nqZ4xaU5o=; b=i8izx+NjrAcYy4Azi2gqPWXEKbDGdCxrPDPu+ynSN5Bk59ImL6T95Oo1WQs/o3O4Dv psw4F81s8kACsalYuCfa3YKVBUaWdt1dN1dLAoYO2bURSF/UvH71sAocuPgjbCHFDXAM /BfpE2un7nJiG6xpMzVfPOtcBBwkYXRlKNKXsR8yKpQI5Y5Asgu0Pbzs6N11XFobKotf IkSSSNBiGAgpC/2Dnet7amfL8e3kbgaIJuFInroYam92GkAtxrLFF98Ng380oqEdtEKn aDEn6p51I0QgovKxUPDyJugKpODyKOUt14FWakO7ddAbM+U7UBLTPVLiByTMRh8LYTJs 2hHQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=qeBXIqzSfIuH6SAUQWNL+jPx2S1sL9td+8nqZ4xaU5o=; b=7GFHRWz98t/HJLjzrQkd9JHmcz5elB3+Isdmp7RYxGgBEa6KDmWaz5hIZE+jaer1yr ob6JQbKnfW7cYbrSLO51JeM3QYJXzbMN6QPLnK6K2CE+LH9bCL93sHrCUemXAWuxKJWb 2RxGObhPgWuWlXMdGwXt/aLpR+X2mpR2Tcq+EqvKMnTBpi0O8VZaBW98k89SJ6ZVWQIw vfdFPwMSzq9JNcANkVHZh8D1jpcWX7UFFLamJw14DM0H1//D16rXEPDXaUr/MyNcrZgs YS/35bIdhsIOdel0SaaCuzWt4psOlpp9Vk50x3tUb5cexkjJGuitPFXlvlUi/DaQDtrU i1tA== X-Gm-Message-State: ANoB5pmlNc/0Y0y0FjvzgXfagHOrVYrEdoNqB4oykO14yScWB681ksC/ sJPhqKfO9l+yNA5ulpM1zJSzjcvtdMln5Am1ywFoYg== X-Received: by 2002:a0d:f645:0:b0:3ba:76ae:dade with SMTP id g66-20020a0df645000000b003ba76aedademr56402285ywf.93.1670459810480; Wed, 07 Dec 2022 16:36:50 -0800 (PST) MIME-Version: 1.0 References: <20221206171340.139790-1-hannes@cmpxchg.org> <20221206171340.139790-3-hannes@cmpxchg.org> In-Reply-To: <20221206171340.139790-3-hannes@cmpxchg.org> From: Shakeel Butt Date: Wed, 7 Dec 2022 16:36:39 -0800 Message-ID: Subject: Re: [PATCH 2/3] mm: rmap: remove lock_page_memcg() To: Johannes Weiner Cc: Andrew Morton , Linus Torvalds , Hugh Dickins , Michal Hocko , linux-mm@kvack.org, cgroups@vger.kernel.org, linux-kernel@vger.kernel.org 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, USER_IN_DEF_DKIM_WL,USER_IN_DEF_SPF_WL autolearn=ham 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 Tue, Dec 6, 2022 at 9:14 AM Johannes Weiner wrote: > > The previous patch made sure charge moving only touches pages for > which page_mapped() is stable. lock_page_memcg() is no longer needed. > > Signed-off-by: Johannes Weiner Acked-by: Shakeel Butt