Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp1314094rwb; Tue, 29 Nov 2022 11:46:32 -0800 (PST) X-Google-Smtp-Source: AA0mqf4AF2XnUC3m/jV0P+IO+xsei3x4BOaNsRq8/jgIRLN1rtYaf2db6aZDL6qYCu05ilI75qM1 X-Received: by 2002:a05:6402:380b:b0:462:7b99:d3b2 with SMTP id es11-20020a056402380b00b004627b99d3b2mr23315510edb.248.1669751192191; Tue, 29 Nov 2022 11:46:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669751192; cv=none; d=google.com; s=arc-20160816; b=lJO571zWn8lmGzn68lLVwl2iws7YmgBaN0KACTC51Sh398cEoTMkEJW7rFBs4156st DdXIHelX7fh7CJVJ5bt9fIGC1/71nZsmuzMNIzItl5Epsjove1KJm7p3tx0QKf3EIAIZ yekm1kNykkp6Q0BlXkfkbOkjIsgHIADM9fwnUAUlhkDPxjV7j7WWX8zqwJvO/O15LY8o E+Rl6C9lwIfPHQuPOQVOTRqf5iNBIqpd8fqB/OLVyppPQMLkzh4iGzMnq3aockxTUyE3 pVDcMxZ3JI3S+IwJ/FPu3+2bPQhvSp/Le/a+r5j93yiRDiBqztBet7di9iH8HW/F/tA2 TyaA== 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=n82HVyeen1bMmFClFboMPGWDCdQZFtBvU3cG7O5fWI8=; b=BBP7CxUUV3CxUHMCGsrb9b0QI+f15h4RztX7RTFDj47vvEF3RjHWKR34HOqBF2W7PW h4Efe12WIFxxP3Heq1JdRrICVUQoVrqv8X553HGMZ8gPRQNsIM2eMxvuGNr/L2PW2mwH i/RRDG4EpgMZOCGe1VzXwwUa5b28i7uH9DA5zKPVev+BKDDxa2jXPddnBrUB+/xWQOce Yjxpqp/wK5JmXtrSdJhKCz2D9gunn3QcQEPvzQR9ig5yFgIHdzJB7m4qFixXeNe40MUd FwMkE1QLBhdpMUXytuQ4XdjlSdbT43GZUe0ruDAW8beoEKIWbTBUpTy6PqorEaAOTKi6 RLqA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=google header.b=MRtFC7hP; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h28-20020a0564020e9c00b0046b850e46d1si1682331eda.145.2022.11.29.11.46.11; Tue, 29 Nov 2022 11:46:32 -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=@linux-foundation.org header.s=google header.b=MRtFC7hP; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236910AbiK2T1i (ORCPT + 84 others); Tue, 29 Nov 2022 14:27:38 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37754 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236874AbiK2T02 (ORCPT ); Tue, 29 Nov 2022 14:26:28 -0500 Received: from mail-qt1-x82a.google.com (mail-qt1-x82a.google.com [IPv6:2607:f8b0:4864:20::82a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6B6596D94F for ; Tue, 29 Nov 2022 11:23:50 -0800 (PST) Received: by mail-qt1-x82a.google.com with SMTP id fz10so9673090qtb.3 for ; Tue, 29 Nov 2022 11:23:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux-foundation.org; s=google; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=n82HVyeen1bMmFClFboMPGWDCdQZFtBvU3cG7O5fWI8=; b=MRtFC7hP8CY2xCqHP7rCYvfijtDEx8rfOpofNAGAenjjigPd8l2z/ynJKCzqdXRCs8 8HqKcLlgR/Mh3Tm8fr5tI6H4dPIaUzK6LWHUAO8HRk8hG7k2Hl4tln+GqsEjL9CQGtlL znctiN96cf02+vcvkm8/vyh2JwKTdgt8JgeZU= 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=n82HVyeen1bMmFClFboMPGWDCdQZFtBvU3cG7O5fWI8=; b=zIvlQiskYb5GVmDI5a/c8CJzAhrQsHgHekDT4N9EEpJ63pSZGOTpRrhWLurh9K9wtu 86iK7r5KckfbEQDaNX5F6BooyCT6bzjo0fuGRBWUloLeXsaksI46XFKv6rn8loF5Po3c 1ry2f2q5dGOBTvyqYnlV5bxwRyrWiVxqp9452df4xTMcsizmYwi+W/3e8aUfywfVavYL Gy8KD4p1sUFPsdmHuVJ5HRN/ucrutRMOm28wrH6azJs7+EiuRh7aCWvTO/5eht2OoPvV zSrc+kjWwT8NaNq/9Wtz5gdtvrGvM8OZlONHeqNh9JgiIT2p2PAtsBVS46+mqudrlJmc cu5w== X-Gm-Message-State: ANoB5pl+/zuzLY5qMBO8evZk5PYuxEIkAbrsHDZ7NTBi/nZudBznxom7 EXc8moVSs3F6HVv70zK7PnTuIv6JNilq5w== X-Received: by 2002:ac8:7447:0:b0:3a5:75dc:ed0a with SMTP id h7-20020ac87447000000b003a575dced0amr34995898qtr.329.1669749829054; Tue, 29 Nov 2022 11:23:49 -0800 (PST) Received: from mail-qv1-f41.google.com (mail-qv1-f41.google.com. [209.85.219.41]) by smtp.gmail.com with ESMTPSA id u12-20020a05620a084c00b006ee949b8051sm10718161qku.51.2022.11.29.11.23.47 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 29 Nov 2022 11:23:48 -0800 (PST) Received: by mail-qv1-f41.google.com with SMTP id a17so8705848qvt.9 for ; Tue, 29 Nov 2022 11:23:47 -0800 (PST) X-Received: by 2002:a0c:80e6:0:b0:4c7:1ae2:2787 with SMTP id 93-20020a0c80e6000000b004c71ae22787mr1804495qvb.89.1669749826624; Tue, 29 Nov 2022 11:23:46 -0800 (PST) MIME-Version: 1.0 References: <20221123181838.1373440-1-hannes@cmpxchg.org> <16dd09c-bb6c-6058-2b3-7559b5aefe9@google.com> In-Reply-To: From: Linus Torvalds Date: Tue, 29 Nov 2022 11:23:30 -0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH] mm: remove lock_page_memcg() from rmap To: Johannes Weiner Cc: Hugh Dickins , Andrew Morton , Shakeel Butt , Michal Hocko , Stephen Rothwell , 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=-1.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=no 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, Nov 29, 2022 at 11:08 AM Johannes Weiner wrote: > > We can try limiting move candidates to present ptes. But maybe it's > indeed time to deprecate the legacy charge moving altogether, and get > rid of the entire complication. Please. If that's what it takes.. Linus