From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.3 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5AD50C433DF for ; Wed, 13 May 2020 16:01:20 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 6A49D20659 for ; Wed, 13 May 2020 16:01:20 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=kernel.org header.i=@kernel.org header.b="blwwIrJX" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 6A49D20659 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id BAF7780017; Wed, 13 May 2020 12:01:19 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id B85118000B; Wed, 13 May 2020 12:01:19 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id AC0FE80017; Wed, 13 May 2020 12:01:19 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0156.hostedemail.com [216.40.44.156]) by kanga.kvack.org (Postfix) with ESMTP id 90EED8000B for ; Wed, 13 May 2020 12:01:19 -0400 (EDT) Received: from smtpin22.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay04.hostedemail.com (Postfix) with ESMTP id 557E64DCD for ; Wed, 13 May 2020 16:01:19 +0000 (UTC) X-FDA: 76812160278.22.laugh27_62c46ca230151 X-HE-Tag: laugh27_62c46ca230151 X-Filterd-Recvd-Size: 3591 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by imf50.hostedemail.com (Postfix) with ESMTP for ; Wed, 13 May 2020 16:01:18 +0000 (UTC) Received: from mail-wr1-f49.google.com (mail-wr1-f49.google.com [209.85.221.49]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 08FD9207F9 for ; Wed, 13 May 2020 16:01:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1589385678; bh=1DCrwT/NDlw0uuTKsF4bXhoDTKqfm27Uln6KkJ8YNbk=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=blwwIrJXdRO2MTbHNEVNVdoqPhEZedEXfGgkRG50ypFS5O/gmrdqIV8kJE7xRhWNi 82/hhW83RJtvHNWrUt5ogzWhb2evQUXRH167YmgAgO1GMMu50lRVEb7+WCKJGB2nl/ rrt3X4VSe3bK2jHIxtpgB589tl4YGk0tTSfnjF8w= Received: by mail-wr1-f49.google.com with SMTP id s8so32363wrt.9 for ; Wed, 13 May 2020 09:01:17 -0700 (PDT) X-Gm-Message-State: AOAM532P5pZ44f8DJF6TgDlM3bCa9obB1sO3lbJAq+XE+d0/2chkJqAs Ep6S2Tnw9+vEFF2q8WP7yYksSL0V5zKBfhXdrY4DxQ== X-Google-Smtp-Source: ABdhPJxQhnLFml0LQ5CNx+hd8QPNyz2a2pbd6SvSmnZfjxvRUTYQ5OXx8AY4s1SOG5rFKf9HvCVi09jd8JzDiGbm9SY= X-Received: by 2002:adf:a389:: with SMTP id l9mr71447wrb.18.1589385676030; Wed, 13 May 2020 09:01:16 -0700 (PDT) MIME-Version: 1.0 References: <20200513152137.32426-1-joro@8bytes.org> In-Reply-To: <20200513152137.32426-1-joro@8bytes.org> From: Andy Lutomirski Date: Wed, 13 May 2020 09:01:04 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v2 0/7] mm: Get rid of vmalloc_sync_(un)mappings() To: Joerg Roedel Cc: X86 ML , "H. Peter Anvin" , Dave Hansen , Andy Lutomirski , Peter Zijlstra , "Rafael J. Wysocki" , Arnd Bergmann , Andrew Morton , Steven Rostedt , Vlastimil Babka , Michal Hocko , Matthew Wilcox , Joerg Roedel , LKML , Linux ACPI , linux-arch , Linux-MM Content-Type: text/plain; charset="UTF-8" X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: On Wed, May 13, 2020 at 8:21 AM Joerg Roedel wrote: > > Hi, > > here is the next post of this series with these changes to the first > version: > > - Rebased to v5.7-rc5 > > - As a result of the rebase, also removed the > vmalloc_sync_mappings() call from tracing code > > - Added a comment that we rely on the compiler optimizing calls > to arch_syn_kernel_mappings() away when > ARCH_PAGE_TABLE_SYNC_MASK is 0 > > The first version can be found here: > > https://lore.kernel.org/lkml/20200508144043.13893-1-joro@8bytes.org/ > > The cover letter of the first post also has more details on the > motivation for this patch-set. > > Please review. > Assuming the missing cleanup at the end gets done: Acked-by: Andy Lutomirski grumpily acked, anyway. I would love to see a followup patch that preallocates the vmalloc region on 64-bit and compiles out pgd_list and all of the associated gunk.