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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6A925EB64DC for ; Sat, 1 Jul 2023 03:36:41 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231226AbjGADgj (ORCPT ); Fri, 30 Jun 2023 23:36:39 -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 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