Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp23238367rwd; Fri, 30 Jun 2023 21:25:15 -0700 (PDT) X-Google-Smtp-Source: APBJJlE6mfoEbrML6MQJ6dIAXlZxvwPTX/iF+gBE0oYp3fUeMfCA8TSoBJsDo9mZwl4deN/DpThH X-Received: by 2002:a81:4689:0:b0:55d:edf3:9e0a with SMTP id t131-20020a814689000000b0055dedf39e0amr4614289ywa.27.1688185515424; Fri, 30 Jun 2023 21:25:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688185515; cv=none; d=google.com; s=arc-20160816; b=z4gy7Ege/+epcFbpyX5ZFG/XgPnqhNU3tUDXV/1ohN/Pfxp59gjj/vnKseO/bsNrTB q6J9fNrREdaQtQPCETQuKE4wOKESq4e8Q0XnINeqKsGaFEpj6BnvVgWSBauEmzt8n3Ik ukNbtku/ftl+ZL605FTR8L6bRvuzWKxrkzqV05c+Tw3yGUerhU9OfXTf89XGt1/NhTJB OpCb9d5szAEW/17XmRv3NJr8FxvnLQQqCdPh04m0G5CudJQgXVSm2d5TzCi7wMI29VCW XeguNEDoudb8ekLRC3tAvlJGXf8B8AwgStE6lmx1sPr6cUglKrG9jdo+rbQLZywaTyh9 crjg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=m7nyDcqN766l//b/R074sjis25WkIEXiUrR0c7m7ZNo=; fh=sseU4O+oqopp12EPmhxR3nh+ngQh6y4sT1gRFnXeDhs=; b=CU7r1sDa1SF6f6azNlPgzLvKV4BS/yQGfbWN+hODdhyFGOrgC5oWEA0plD5dwsSWeh m5yrl0fyUapsQopJ9OERTvUumIP+ibYpGf/atprRFFuKnCApFEfWlxaniKZxddpQePtv gNhx/dp9weLsrEhDK5qektHl/HkTPz/bccFmW+8wdxee9rgQCl//thmj17NG56v1l9aS dWfjP7AyUuLGwDC56+eaao597dc0GxcW0lL7EcWu18uk/H6Ltn4KOrprPrngOyNYw3/k r8Jo+PieZ6DFjvCzRaHO62k3TwKa7ud4UH+3l4zP5ixKS2PUGGBL9oZDK4b9SZ6KEKvb bKUQ== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id k25-20020a635a59000000b00553813c2df0si13474210pgm.513.2023.06.30.21.25.01; Fri, 30 Jun 2023 21:25:15 -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; 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=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229962AbjGADgi (ORCPT + 99 others); Fri, 30 Jun 2023 23:36:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49188 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230497AbjGADes (ORCPT ); Fri, 30 Jun 2023 23:34:48 -0400 Received: from szxga02-in.huawei.com (szxga02-in.huawei.com [45.249.212.188]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3BF0849D4 for ; Fri, 30 Jun 2023 20:29:02 -0700 (PDT) Received: from kwepemm600020.china.huawei.com (unknown [172.30.72.56]) by szxga02-in.huawei.com (SkyGuard) with ESMTP id 4QtHh33JcmzTkRs; Sat, 1 Jul 2023 11:28:03 +0800 (CST) Received: from localhost.localdomain (10.175.112.125) by kwepemm600020.china.huawei.com (7.193.23.147) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.27; Sat, 1 Jul 2023 11:28:58 +0800 From: Peng Zhang To: , , , CC: , , , ZhangPeng Subject: [PATCH v2 0/2] mm: remove page_rmapping() Date: Sat, 1 Jul 2023 11:28:51 +0800 Message-ID: <20230701032853.258697-1-zhangpeng362@huawei.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=US-ASCII X-Originating-IP: [10.175.112.125] X-ClientProxiedBy: dggems704-chm.china.huawei.com (10.3.19.181) To kwepemm600020.china.huawei.com (7.193.23.147) X-CFilter-Loop: Reflected X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, RCVD_IN_MSPIKE_H5,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE 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 From: ZhangPeng This minor patch series convert fault_dirty_shared_page() to use a folio first, then remove the now-unused page_rmapping(). Change log: v2: - reverse the order of the two patches - add RBs from Sidhartha Kumar - update comment ZhangPeng (2): mm: use a folio in fault_dirty_shared_page() mm: remove page_rmapping() include/linux/mm.h | 1 - mm/memory.c | 16 ++++++++-------- mm/util.c | 6 ------ 3 files changed, 8 insertions(+), 15 deletions(-) -- 2.25.1