Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp613148ybh; Tue, 21 Jul 2020 03:47:07 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy7xdZcgEfoP1Twl31JJ+OWYiYkFEm7Jm2URclMqJXhrGKCHvGeMjHk4ttL6EAiuTstP67Q X-Received: by 2002:a05:6402:134e:: with SMTP id y14mr25760466edw.4.1595328427034; Tue, 21 Jul 2020 03:47:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595328427; cv=none; d=google.com; s=arc-20160816; b=YxoC8OYWM0JhSpt0TYTvmo7gDKGhnuznk9tzdBYMIeRQwTyjvpgPQidJrViRNVwdkS f+5it5Hd4wQRGR52NLC9uJ9Y8whKCkp6Qbzan2NgZ+CYjmj0rBDdewubOf+AiBkVStAW 8L4iQtgHNusIY+Og1ffOr9VdNFBHGjkGv8UxJeRsOyB1kCM/uPY2Hh+bRl+2ApQai8EG HzKBOXyX5A8w1AZpo6xU3Kk2mFhNR5jIn5OX091ArIMd+dBckEr9utRT2p/i/8peKB0s EPqoFex/8luu6MxImea6MYT2eOUGkqscNk5+0jqhACw2ez4VWj7XsNBhXi99bV4SOGpv Iydw== 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; bh=Fm9das97s/o+A24/IOLQ0HW3nrvfIWN+IBurQ3Mffas=; b=0Z0vhejiqjCIPnD6ozS/jGnH4/1AhlzlLxUH9JZjTt5XaTXU4TyrknfksYU1LawFgW Yq4KaTuMKZRz6ShPSPnrN/qJ0Nfy31LhCq/lLLIDvZysMHv/qnMnHqFHTRrcAT4whRRX sDLRLg5e9/lejvFrHSa/KtUyjBgHmcLPIDRVck/0gxSeS90iT9zj4Uw2RtLxyqz8QaNF WQdCKrasMHq58uP6jvedVwWn34K6GW8aXGuFl6D9kPm4HrKLnAcaq/XMG5XiyEYrwHWh 6DixCzzSYSIENtHL0cl1qJv7Dute+evuJ5P721grlJClRmYfjeIZaFg9t5jHTwwlVeNF 3yOg== 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=ibm.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id dd13si12314655edb.153.2020.07.21.03.46.44; Tue, 21 Jul 2020 03:47:07 -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=ibm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728028AbgGUKqA (ORCPT + 99 others); Tue, 21 Jul 2020 06:46:00 -0400 Received: from mx0b-001b2d01.pphosted.com ([148.163.158.5]:42252 "EHLO mx0b-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726127AbgGUKqA (ORCPT ); Tue, 21 Jul 2020 06:46:00 -0400 Received: from pps.filterd (m0098421.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id 06LAVMdK103884; Tue, 21 Jul 2020 06:45:52 -0400 Received: from ppma06ams.nl.ibm.com (66.31.33a9.ip4.static.sl-reverse.com [169.51.49.102]) by mx0a-001b2d01.pphosted.com with ESMTP id 32d5k0v2wu-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 21 Jul 2020 06:45:52 -0400 Received: from pps.filterd (ppma06ams.nl.ibm.com [127.0.0.1]) by ppma06ams.nl.ibm.com (8.16.0.42/8.16.0.42) with SMTP id 06LAVlc2024333; Tue, 21 Jul 2020 10:45:50 GMT Received: from b06cxnps4076.portsmouth.uk.ibm.com (d06relay13.portsmouth.uk.ibm.com [9.149.109.198]) by ppma06ams.nl.ibm.com with ESMTP id 32brbh3qj5-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 21 Jul 2020 10:45:50 +0000 Received: from b06wcsmtp001.portsmouth.uk.ibm.com (b06wcsmtp001.portsmouth.uk.ibm.com [9.149.105.160]) by b06cxnps4076.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 06LAik3M59900018 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 21 Jul 2020 10:44:46 GMT Received: from b06wcsmtp001.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 8D379A4054; Tue, 21 Jul 2020 10:44:46 +0000 (GMT) Received: from b06wcsmtp001.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 8E50BA405C; Tue, 21 Jul 2020 10:44:44 +0000 (GMT) Received: from linux.ibm.com (unknown [9.148.205.118]) by b06wcsmtp001.portsmouth.uk.ibm.com (Postfix) with ESMTPS; Tue, 21 Jul 2020 10:44:44 +0000 (GMT) Date: Tue, 21 Jul 2020 13:44:36 +0300 From: Mike Rapoport To: Joerg Roedel Cc: x86@kernel.org, hpa@zytor.com, Dave Hansen , Andy Lutomirski , Peter Zijlstra , Andrew Morton , Joerg Roedel , linux-kernel@vger.kernel.org Subject: Re: [PATCH v3 0/3] x86/mm/64: Remove vmalloc/ioremap pgtable synchronization Message-ID: <20200721104436.GE802087@linux.ibm.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> X-TM-AS-GCONF: 00 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.235,18.0.687 definitions=2020-07-21_03:2020-07-21,2020-07-21 signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 bulkscore=0 phishscore=0 mlxlogscore=906 suspectscore=1 priorityscore=1501 mlxscore=0 clxscore=1015 lowpriorityscore=0 malwarescore=0 impostorscore=0 spamscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2006250000 definitions=main-2007210070 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jul 21, 2020 at 11:59:50AM +0200, 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 I have a small nitpick for the commit message of the first patch, otheriwise, Reviewed-by: Mike Rapoport > 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 > -- Sincerely yours, Mike.