Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp3597971ybk; Tue, 19 May 2020 08:27:18 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyy3Xjn6QJyeoDv5oNUQHRcCluzG3ozhiER3UCTb3ATAgBjaxHlXnS4OhirNiZOwIDQD6MP X-Received: by 2002:a05:6402:286:: with SMTP id l6mr18224888edv.253.1589902038641; Tue, 19 May 2020 08:27:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1589902038; cv=none; d=google.com; s=arc-20160816; b=uJXFMybUob1IKWDKtcf/qvuohdjBKbm9aD/2CeVjM6Lrp39SAsX91ogzlyx3EYznx5 BYTKinJw2RZEu5Zj3+oMRiY4vEKnZtoj2L9Prz23+dlmCRIe2epTbBSI5tWBo+gsGT0I Z3nGv1wtgBMRULB2PlFKC0urKZhC0yHFme7idNNfg1fZi2nS5M7LDIf3qFfFfrjH7Rqa 9E8Ck3NeKCw9uxQks5m6zJJN16hjFfGiiHrdbOsIwe2yhEzunV6P7t9yg2Mwmcvl+Wzd DkiTADixVHUZA/M9YcePEy2Rdac4cJWV3Y0r/29qECjIGsu2EEPd8d/gIuQb+8sgx0xH XfTA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=cGcS0Nq/Zdu8WJGar+VjEuhQDeP4p/PJvIPzg90v7Fs=; b=usLTfTRNZySMMZltSWuFa64NP8k1sDNeSkdU94bsjcQtt8BLTQdQ0t1WCOHAufQkre NLHHG7E/jztA75yPKmADaJGh4V5f+nii6+6CXCe6TckygbqovXRRAhoyQR0BMV+YBGgA r4iTD2tBP+lPcZTrKiC6vXNnN0EVAMjsO/esSqcAygJbvJjPLr+tbyinc+yTERsTQbWs MP//0O2wZYQlXLtDPOchjjpxUMhbshkvt99OLlYlyCgEY5FCuMJ6tPc98+NxU5hyNYWp uwbNJA3aoau/FA8ZIe/cvr/ID/QTNIKcoeDwNdCWYog2J/mzqvP9uwqyi/3eIherJwjc RxqA== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id a17si67945eje.506.2020.05.19.08.26.52; Tue, 19 May 2020 08:27:18 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729089AbgESPZR (ORCPT + 99 others); Tue, 19 May 2020 11:25:17 -0400 Received: from mx2.suse.de ([195.135.220.15]:43100 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728773AbgESPZQ (ORCPT ); Tue, 19 May 2020 11:25:16 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id D5A5FB275; Tue, 19 May 2020 15:25:17 +0000 (UTC) Date: Tue, 19 May 2020 17:25:12 +0200 From: Joerg Roedel To: Andrew Morton Cc: Joerg Roedel , x86@kernel.org, hpa@zytor.com, Dave Hansen , Andy Lutomirski , Peter Zijlstra , rjw@rjwysocki.net, Arnd Bergmann , Steven Rostedt , Vlastimil Babka , Michal Hocko , Matthew Wilcox , linux-kernel@vger.kernel.org, linux-acpi@vger.kernel.org, linux-arch@vger.kernel.org, linux-mm@kvack.org, Christoph Hellwig Subject: Re: [PATCH v3 2/7] mm/vmalloc: Track which page-table levels were modified Message-ID: <20200519152512.GO8135@suse.de> References: <20200515140023.25469-1-joro@8bytes.org> <20200515140023.25469-3-joro@8bytes.org> <20200515130142.4ca90ee590e9d8ab88497676@linux-foundation.org> <20200516125641.GK8135@suse.de> <20200518151828.ad3c714a29209b359e326ec4@linux-foundation.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200518151828.ad3c714a29209b359e326ec4@linux-foundation.org> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, May 18, 2020 at 03:18:28PM -0700, Andrew Morton wrote: > On Sat, 16 May 2020 14:56:41 +0200 Joerg Roedel wrote: > --- a/mm/vmalloc.c~mm-vmalloc-track-which-page-table-levels-were-modified-fix > +++ a/mm/vmalloc.c > @@ -309,6 +309,9 @@ int map_kernel_range_noflush(unsigned lo > return err; > } while (pgd++, addr = next, addr != end); > > + if (mask & ARCH_PAGE_TABLE_SYNC_MASK) > + arch_sync_kernel_mappings(start, end); > + > return 0; > } Yes, this is the right call. > It would be nice to get all this (ie, linux-next) retested before we > send it upstream, please. Will do and report back. Thanks, Joerg