Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp83509ybk; Fri, 8 May 2020 14:40:49 -0700 (PDT) X-Google-Smtp-Source: APiQypJ2Ikte/xTBj238GjOM0DaqsYW3GmBE48B4aCzxQht80otsLTWp1pP8XBU+vN8A6NsBBXE9 X-Received: by 2002:a50:ba83:: with SMTP id x3mr3862137ede.193.1588974049373; Fri, 08 May 2020 14:40:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1588974049; cv=none; d=google.com; s=arc-20160816; b=1As2ySNjg2G4cTMc/+cdLsOkoP9Tm5JCGrAq/5P47UQBqmnsdgsamoxvvilULFtRVg 5HBWd9gqtgiPmuvfEWiIJ9SSzgt9NaWHlnCosbXw2DGFV2UOQ9BymP5gSoLiNHVUBkbW mBeeL3/btR1ZFPRSxcIhbIzfgFVdXFQU8ey09Smx5/yBLoq45zTmOkxKxuCM7bdUWHj5 8jaJPor+THZJ+R5qpSxXrzKFZ22psRXzLfQlIiMnChYD70yGb4ThnSCWWX3yc5MLqp3t w1SGto2SaxRGmUwOspxik9guwVgrXb8z/JZBJ3sEXoXfXyT160b60LV9WzziSf8zIat7 hcfA== 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=l0RinO9aR/cCnOEpv/MdjBdYGYlr2tKvu93Z5L1M5KU=; b=rLktP2sYwjzKZNfKdbOdIC058t6giCGT8llbLlUrGsKmrin8tqiBBjeBm8iXLoIvkM Oo2Dm5yhn9MQY8KbfbJq6T5jEiL7qMfoRETw57ZSmq2HLPRWCCzKVC7O3gjcmoqhJv5V OA49GWrY/DLlCO82LgOB0UzucC7Z20FAhLI+FZWEo1xNoZYMycbmynL7vwFUcPfRuHFu Iu8LmwiLpk1lPxTTzUnHGBpJ0CyZAhd51xU5O5ZEL/B1/v5j+2mlghYMqXImN0WZKyyb uQAjODMHYFliyUdglu6qErvv4ukpCDBQJEAX7doGUr27nKpe4No9PSJR/YZ3bwEma77i aRrA== 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 gq20si659646ejb.308.2020.05.08.14.40.25; Fri, 08 May 2020 14:40:49 -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 S1728139AbgEHVgO (ORCPT + 99 others); Fri, 8 May 2020 17:36:14 -0400 Received: from mx2.suse.de ([195.135.220.15]:36998 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726811AbgEHVgN (ORCPT ); Fri, 8 May 2020 17:36:13 -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 96C9FAD60; Fri, 8 May 2020 21:36:14 +0000 (UTC) Date: Fri, 8 May 2020 23:36:09 +0200 From: Joerg Roedel To: Andy Lutomirski Cc: Joerg Roedel , X86 ML , "H. Peter Anvin" , Dave Hansen , Peter Zijlstra , "Rafael J. Wysocki" , Arnd Bergmann , Andrew Morton , Steven Rostedt , Vlastimil Babka , Michal Hocko , LKML , Linux ACPI , linux-arch , Linux-MM Subject: Re: [RFC PATCH 0/7] mm: Get rid of vmalloc_sync_(un)mappings() Message-ID: <20200508213609.GU8135@suse.de> References: <20200508144043.13893-1-joro@8bytes.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: 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 Fri, May 08, 2020 at 02:33:19PM -0700, Andy Lutomirski wrote: > On Fri, May 8, 2020 at 7:40 AM Joerg Roedel wrote: > What's the maximum on other system types? It might make more sense to > take the memory hit and pre-populate all the tables at boot so we > never have to sync them. Need to look it up for 5-level paging, with 4-level paging its 64 pages to pre-populate the vmalloc area. But that would not solve the problem on x86-32, which needs to synchronize unmappings on the PMD level. Joerg