Received: by 2002:a17:90b:8d0:0:0:0:0 with SMTP id ds16csp4744416pjb; Mon, 27 Jul 2020 04:09:47 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzNpQHP6XbHCUbJlIV62JDVX+8Hetcd/WwON8VnrADyTRybBf4Ptp8nFjsJDG0Nkqmuhtbw X-Received: by 2002:a17:907:72c6:: with SMTP id du6mr18556813ejc.362.1595848187473; Mon, 27 Jul 2020 04:09:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595848187; cv=none; d=google.com; s=arc-20160816; b=pfTrE5tZ4mjCQxQZd2hSJh4EjsWw7nNcOpn01HWNwXlU/YmGjuK/1s45/5cBhm4TJX tVv33nQYR62gqK1NcbnrB3PrTJu5z3SZ0A84y/Svu9qFqsHqnQ4jjQq1AiqdMIoDMJ20 1X+Uu3iggSu8ObRRZBiBhUuiNUivwphIqbeKjy5Peml4rvWavtraFdehFn0wJuO+NDfh izDOFdBsyjNZjF9vFW2mCcmnWb9PSLWk33S12aaEmxbznMdukIpRoFT4FJ6GC0n1kuHt sFIznuon6YkRFGiJZbUP3ZjjZDl7DFjSm7Geb+3OhjsfRsb/pXyaTTAriBMk0o3o/gNJ txtA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=RwIbYX4tpIvaMqMMybkeITF1WqLqpQeUKMEgUeMi77w=; b=UekwgKbv/Z/AIcLGwSzhG5EHRs2ZRNIosSRR2l1sdGPlsW3stAnfUkFBntcHyJq4no f0HZD4IP1BIYURJBVnVhQKJdNJawFziu54iF7FwvEGwljHxJRDJAWHLn2+InUpA2tvMy D3ZIITnl0pKTqyeh2RkHJycO/26fEOXJh5Hj7zfqU7ZusBeOTnULueSdVdQt9ahkrrq0 4F61WrAZrzxTz9w7neXQDqNyLqZs/RqLDV+n+TWyr8vig/1pfwEg9cF+22UtHFDKx1j2 5yoIZ9rlq4ZS9RHrcfKBZ3cherWw2LyX+iLSk8bCXJUHjQgKBkwZmbwR6z+YNRaTQ4Wf KP6g== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b="Wlk1/2t1"; 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id h11si5720155edl.235.2020.07.27.04.09.24; Mon, 27 Jul 2020 04:09:47 -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; dkim=fail header.i=@gmail.com header.s=20161025 header.b="Wlk1/2t1"; 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727103AbgG0LIL (ORCPT + 99 others); Mon, 27 Jul 2020 07:08:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34900 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726842AbgG0LIK (ORCPT ); Mon, 27 Jul 2020 07:08:10 -0400 Received: from mail-ej1-x641.google.com (mail-ej1-x641.google.com [IPv6:2a00:1450:4864:20::641]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7E3D0C061794 for ; Mon, 27 Jul 2020 04:08:10 -0700 (PDT) Received: by mail-ej1-x641.google.com with SMTP id g7so8348900ejw.12 for ; Mon, 27 Jul 2020 04:08:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=RwIbYX4tpIvaMqMMybkeITF1WqLqpQeUKMEgUeMi77w=; b=Wlk1/2t1P+pF4N7yMXUW4N2wf8GT1C+3c0lTst7Dm1Kl2N2vtZznaDJvyZ9+WzK9pD +TTKk4kKUSt2+k1wdZxBpDqg6BN7JlexuzvAS8niYNsqg4HCOBMGa65SCcuQBUWbSf9q At1LsqecLQDJh+XI4juzy+Ib/as0kYjWBfjO0ikwatUKCOVWWBFk3OddnMdPnEed9o+P O9oYkcLmeOL2m9xLutdxlmagLjFZGb8L66YY74x458YTt769aJa9UXnT7gz9gxvLYzyZ PHcxGynin8/rYFQME9NyCUUxZ/9evzFY34J+njGC2D1rNS05isLUF40pKcG+tuhbRgAU nCZQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :references:mime-version:content-disposition:in-reply-to; bh=RwIbYX4tpIvaMqMMybkeITF1WqLqpQeUKMEgUeMi77w=; b=MnEGjfwQnk7miCn7mY/B24FclrNvF6Q7iWy76CNW3ApkxyCBmMbxb0oAPZ9VPfxzvB Ae1QeBLx78/o+pdgMOW+ghOAIB4kpyJT0lImPw62wc73CXliKql4PvJf3KnVWhzl9Vwd b+kLXzvmDiVGkuAicT2fcmw4U5S4uMTgD2KCHGA5hPuPYqtc3vRe0FR1zNImnEm1hWxI sPNX21IwqG4mSmvvHbjl4JZ67f0EdMvKP6vhyzvG94bsWMAWZrgeEvXzOJVRfUNxLOmL Q6IGlwVPZu/w8u5sqirRy+fF9ykpBGU9tPYJcIoAuBSdZIpS4yrHqEjjIjLGCmQ5XKAJ 9Glw== X-Gm-Message-State: AOAM533R5sPHdDmCrTLhtpk5qubWsU2r8Kxkn6LMpgcfK/rLRS/PJFAb viomMh3hvYy5G6PZovMooJtJLdJN X-Received: by 2002:a17:906:3614:: with SMTP id q20mr14816263ejb.142.1595848089310; Mon, 27 Jul 2020 04:08:09 -0700 (PDT) Received: from gmail.com (54033286.catv.pool.telekom.hu. [84.3.50.134]) by smtp.gmail.com with ESMTPSA id w20sm7227187eds.21.2020.07.27.04.08.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Jul 2020 04:08:08 -0700 (PDT) Date: Mon, 27 Jul 2020 13:08:06 +0200 From: Ingo Molnar To: Joerg Roedel Cc: x86@kernel.org, hpa@zytor.com, Dave Hansen , Andy Lutomirski , Peter Zijlstra , Andrew Morton , Mike Rapoport , Joerg Roedel , linux-kernel@vger.kernel.org Subject: Re: [PATCH v3 0/3] x86/mm/64: Remove vmalloc/ioremap pgtable synchronization Message-ID: <20200727110806.GB3174@gmail.com> References: <20200721095953.6218-1-joro@8bytes.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200721095953.6218-1-joro@8bytes.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org * Joerg Roedel wrote: > 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(-) Applied to tip:x86/mm, thanks Joerg! Ingo