Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp587089ybh; Tue, 21 Jul 2020 03:00:52 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwaqgwSiG3X8TWGSg4BVGRJinEmtz7dcooL+dGcQE1U4AzPsLUlQZcsMlH1O99vLD2hxK4k X-Received: by 2002:a17:907:4420:: with SMTP id om24mr23874937ejb.10.1595325652696; Tue, 21 Jul 2020 03:00:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595325652; cv=none; d=google.com; s=arc-20160816; b=EbrYAK4wsKpRuZILf11tsjpe/21D2zeaF7IcLO52Mm0j35+KmaGYUjYfWeo92KYF7i US8oaZnuNbvDRYr5NBIEQspg1uyKVpCL/VwZ0XF/ch0LAC9rTnznXDfU8SFeuaT4t/VK s/juvwMn/2B0PA8KBT8UiTL+jNzYo/TWIxMw9VgK7Afi3UsnGV1+5r0nyVC6ha4w/b0Z Y4Hc+RMRjk856PSV4tWfC7esoQgCSAr0jJcGRqRWenC2oyPWSf0T1mAuy9a33E0cuDDn 12q1yU06ILLXq/+EhIn3cH6d4xMS0DvrhNyRlLwGNwOS+ca5bPH8gCsvbdd3+BWxf0Tq bwKA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=pbz2pLQmleaL8ex5D1TTMSEWysNtPGkpqKKycnbNvZ8=; b=O3kxoaOysPiHN/hp3M/yvYad+0JyJ7C9I18BJ+VWpdSxa1ik4ufT+oBJ1SJ3TGKHgx UhTuxlxhmWz1+cK0TmutelDsjqbIZoyJ6KVMTohgtkXptEGhg6O+B8NxTy1PEA4zOnLn 7aa/nHatEjEkewpuksNZjseprcRugc475AFnytfZV2GLjpJxJRvH4GPlLE76x2nzRFMh VodHR9cH/1Z6mCzxyujL5CTgQaI45AAG3ql9fxIK8Rjer57tm8w4gM5sjRHimg3YJ7GJ 3Hbym42dSLGXEehP2wraA9HlYGQ5vkxRAf8zssfkVXLM79IBcV3/h2mGSg/F0s1/nunT 34PQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=8bytes.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id ca17si12081101ejb.533.2020.07.21.03.00.29; Tue, 21 Jul 2020 03:00:52 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=8bytes.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729130AbgGUKAJ (ORCPT + 99 others); Tue, 21 Jul 2020 06:00:09 -0400 Received: from 8bytes.org ([81.169.241.247]:58318 "EHLO theia.8bytes.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726415AbgGUKAI (ORCPT ); Tue, 21 Jul 2020 06:00:08 -0400 Received: from cap.home.8bytes.org (p5b006776.dip0.t-ipconnect.de [91.0.103.118]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by theia.8bytes.org (Postfix) with ESMTPSA id 80F481AD; Tue, 21 Jul 2020 12:00:06 +0200 (CEST) From: Joerg Roedel To: x86@kernel.org Cc: hpa@zytor.com, Dave Hansen , Andy Lutomirski , Peter Zijlstra , Andrew Morton , Mike Rapoport , Joerg Roedel , joro@8bytes.org, linux-kernel@vger.kernel.org Subject: [PATCH v3 0/3] x86/mm/64: Remove vmalloc/ioremap pgtable synchronization Date: Tue, 21 Jul 2020 11:59:50 +0200 Message-Id: <20200721095953.6218-1-joro@8bytes.org> X-Mailer: git-send-email 2.27.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Joerg Roedel Hi, here is the third version of the patches to pre-allocate P4D/PUD pages for the vmalloc/ioremap areas on x86-64. This makes the page-table synchronization code obsolete and so it is also removed. Please review. Thanks, Joerg Changes to v2: - Rebased to tip/master - Some rewording of the commit-messages Joerg Roedel (3): x86/mm: Pre-allocate p4d/pud pages for vmalloc area x86/mm/64: Do not sync vmalloc/ioremap mappings x86/mm/64: Make sync_global_pgds() static arch/x86/include/asm/pgtable_64.h | 2 - arch/x86/include/asm/pgtable_64_types.h | 2 - arch/x86/mm/init_64.c | 59 ++++++++++++++++++++++--- 3 files changed, 53 insertions(+), 10 deletions(-) -- 2.27.0