Received: by 2002:a05:6358:c692:b0:131:369:b2a3 with SMTP id fe18csp4117138rwb; Mon, 31 Jul 2023 01:20:54 -0700 (PDT) X-Google-Smtp-Source: APBJJlFGwhYjuzuQPlgFJwk6zunn2Wt4PGPdM8KgWpxObGdn6sSVH8kKlRCO73dURb00NPD+lx8l X-Received: by 2002:a05:6402:1851:b0:522:3ebc:84b9 with SMTP id v17-20020a056402185100b005223ebc84b9mr7700679edy.24.1690791654189; Mon, 31 Jul 2023 01:20:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690791654; cv=none; d=google.com; s=arc-20160816; b=ygSJVMvbfKjzg03rJyW5ZyK8w/UQtXchFVPV5Q+MSVJm7H+6lylAma2bPH+zun0tWm wIGnJE71QI//hH46SsYCge0s8RbDvuzXhjHPYrZGQZdFaGQdTG7X/p52eBZksZBuKWVo 8dTgG4Ea3gIje5LjXaUlizXTQPSlQ8HniA8JyvYMY+PZf7mVFsaMQlG4V6Y03bHz7jG2 dNhueoKp4OaqGt1Vc25qM1rKG6wRdrPUi2mzRGA7ApGrRxlPG855GXtALPSVTIECQYWT 5LKL8OT0CgsBHW/DojA7B8tlteO/Aqgcrf10+ABAH7DkcaK8M4P2klYSBW1rAXbTlEl/ PLzA== 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=mDAQuWBbkt7X39R2C3cGtjwCMI8WrAPdKzadG9uUiGw=; fh=pWGPqOKfNGLee4HdbDJvfX9Bibz+qaOAq2a2PB8WHto=; b=NqjBrNe1gIG63C+1PJLbkQOsTkT0sewIhCj8mKl3lejtkmiieJf1Z0i01D4UpBzGR4 YiHUbBdQdBP2ZE5PwbZcQBST32UI5y0r833h4CT/4ovuKTaJDMcLnP9Dyx3xnaZyDEHJ Cozxso2UIOA6soDnx7MnumnPsvMgHaqTZwGgajXddACx1X5Ow/Oo6vUn65aXyCVgP/If lD7dGnIFCq1Ym2O0TBC4eEMpSv0EdepGEiPF5mrB9X5SjjdQXiJSAo4PDwmpkIFLFr01 1nQgEibW35tibPlH6YikeBi9A3OIqHhbdDVbA1O74eoQZ56aIBZ9zc9BFGXCtDQC6BqM vbTg== 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 r10-20020aa7d14a000000b00521e533adaasi6106312edo.408.2023.07.31.01.20.29; Mon, 31 Jul 2023 01:20:54 -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 S229906AbjGaHj0 (ORCPT + 99 others); Mon, 31 Jul 2023 03:39:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47420 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230216AbjGaHjT (ORCPT ); Mon, 31 Jul 2023 03:39:19 -0400 Received: from szxga01-in.huawei.com (szxga01-in.huawei.com [45.249.212.187]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6B7E410B for ; Mon, 31 Jul 2023 00:39:17 -0700 (PDT) Received: from dggpemm100001.china.huawei.com (unknown [172.30.72.53]) by szxga01-in.huawei.com (SkyGuard) with ESMTP id 4RDqpt3wCPzrS3Q; Mon, 31 Jul 2023 15:38:14 +0800 (CST) Received: from localhost.localdomain.localdomain (10.175.113.25) by dggpemm100001.china.huawei.com (7.185.36.93) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.27; Mon, 31 Jul 2023 15:39:13 +0800 From: Kefeng Wang To: Andrew Morton , Catalin Marinas , Will Deacon , Mike Kravetz , Muchun Song , Mina Almasry , , , , , CC: , , Kefeng Wang Subject: [PATCH 0/4] mm: mremap: fix move page tables Date: Mon, 31 Jul 2023 15:48:25 +0800 Message-ID: <20230731074829.79309-1-wangkefeng.wang@huawei.com> X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=US-ASCII X-Originating-IP: [10.175.113.25] X-ClientProxiedBy: dggems702-chm.china.huawei.com (10.3.19.179) To dggpemm100001.china.huawei.com (7.185.36.93) X-CFilter-Loop: Reflected X-Spam-Status: No, score=-5.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 The first three patches use correct flush tlb functions when move page tables, and patch 4 is a small optimization for hugepage on arm64. Kefeng Wang (4): mm: hugetlb: use flush_hugetlb_tlb_range() in move_hugetlb_page_tables() mm: mremap: use flush_pmd_tlb_range() in move_normal_pmd() mm: mremap: use flush_pud_tlb_range in move_normal_pud() arm64: tlb: set huge page size to stride for hugepage arch/arm64/include/asm/tlbflush.h | 21 +++++++++++---------- mm/hugetlb.c | 4 ++-- mm/mremap.c | 4 ++-- 3 files changed, 15 insertions(+), 14 deletions(-) -- 2.41.0