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=-2.3 required=3.0 tests=DKIMWL_WL_HIGH, DKIM_ADSP_CUSTOM_MED,DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 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 013E5C2BA2B for ; Tue, 14 Apr 2020 00:28:10 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id B0F9D215A4 for ; Tue, 14 Apr 2020 00:28:09 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="H+nCGrga"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=google.com header.i=@google.com header.b="lct5lXl+" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org B0F9D215A4 Authentication-Results: mail.kernel.org; dmarc=fail (p=reject dis=none) header.from=google.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:Message-ID: In-Reply-To:Subject:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=zDvqGCR5osY3wffPK6hcAg3vyXdwsqhXEVt0+VJwOvk=; b=H+nCGrgaexnlge YkQJTUo3wM3r622ylOX/57WCRtSJ2c7OQ5snO5FTyqqtJj8doDwkf+l4UudAKUN9nes+3DKQAQAM/ 00E4bULT32+Dzhni7L0xXkCeN1UP+37iYXaiDEPi3S2YT21XEDpm51sFMsWSgzlqYSe2d4mLd7up+ JmVGwM4/LocLHqlb2edNdOnq1N9xrDtj6jfIulaaWN7nYDoknUt7cxnXcFjxg1nE+w1DdAknnvsgZ kU/+aPDQX9F2fmBWiX1Kld53Dmofyd0p2R61TVQIEU+3sdR/0IeBuzrlGbnIYm2MxMtn37GxFHpYP bywYA60F+MbTOlpB92IQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jO9Qr-0002E8-JL; Tue, 14 Apr 2020 00:28:05 +0000 Received: from mail-pg1-x544.google.com ([2607:f8b0:4864:20::544]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jO9Qo-0002Df-Bt for linux-arm-kernel@lists.infradead.org; Tue, 14 Apr 2020 00:28:03 +0000 Received: by mail-pg1-x544.google.com with SMTP id p8so5229231pgi.5 for ; Mon, 13 Apr 2020 17:28:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=date:from:to:cc:subject:in-reply-to:message-id:references :user-agent:mime-version; bh=Iab8a1FKfuOAzK+EtN5ksWX3Ch8SBZHLkolYH18vMow=; b=lct5lXl+IscuWLrw6XCAopB0jz61pOOckI0TmsidUgK4aX5mFUXIL+srhSrr7xsXiI R858On8eqIKqa3BXB4MJdWnfFhKywElGKTmO4z+5bqMcrhqViWsYCBSTHeu5VymTDvXy vzDM5SQexLRHSqiZTMW5uVEwHz6m0ToMk5ffxuaUr7dFrUjGIrbFJSlBk8RtMkG1HFta e9YzM1vFQZlEpZx+IwYLnAg7oi80UtsWCGSGE9hdWjS2nYrQr6DSDyUzhadbwcYpuzTu tfVONL2lwfWuYRw4uqk4mrPTFWRAPc4c1PM/LJ8V399ICf9ZbS1MhBB39wQOxCgx1dGp +4hw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:in-reply-to:message-id :references:user-agent:mime-version; bh=Iab8a1FKfuOAzK+EtN5ksWX3Ch8SBZHLkolYH18vMow=; b=NvA5vz+vpbZvBHZ3hmne12/0zZOtmu6GUFYWOd2AiEa3aebRCr0nlV18lXw37fy/qs po7TcvX87DXoltFErZYUmwg1jU5EVh9vg5xZJG40R6YipkwAdDDr2mJCZUr63I5W4nHB JNR8XvIYtkBq0jEue1yyK3v+0oO9DxhFmkX84NKBeVOv6reRDzfMaZvYXu6UcyvjnOtK 8esZq/ZtcrSW4f6TmcJvPIytDXOOhCYG4DbH9lj7HjTuww0VyIQVA0LpYsT/f3UDJgta pbVbm23/+ccrLcRGgp6fte8YKJs10zWvtlvgaPPCQV5WUujwwoBBv10OeJSHh9djFwYl bqMA== X-Gm-Message-State: AGi0PuYROxLvKm3jTmaFqMfGMwDy7KdJhFSBAP5VUiVDNVuLArNHKNtX b3yEKvVKifsYuz6/CqK87wY2pw== X-Google-Smtp-Source: APiQypLZpjmT/ThpynRDdIZHTO4aZH7CnvngDUK8vlIGwZhBDCAfCPTuSg0ilh9qJ0MLoF72azaR+A== X-Received: by 2002:a63:5724:: with SMTP id l36mr15697582pgb.366.1586824079677; Mon, 13 Apr 2020 17:27:59 -0700 (PDT) Received: from [2620:15c:17:3:3a5:23a7:5e32:4598] ([2620:15c:17:3:3a5:23a7:5e32:4598]) by smtp.gmail.com with ESMTPSA id 132sm9849909pfc.183.2020.04.13.17.27.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 13 Apr 2020 17:27:59 -0700 (PDT) Date: Mon, 13 Apr 2020 17:27:58 -0700 (PDT) From: David Rientjes X-X-Sender: rientjes@chino.kir.corp.google.com To: Nicholas Piggin Subject: Re: [PATCH v2 0/4] huge vmalloc mappings In-Reply-To: <20200413125303.423864-1-npiggin@gmail.com> Message-ID: References: <20200413125303.423864-1-npiggin@gmail.com> User-Agent: Alpine 2.21 (DEB 202 2017-01-01) MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200413_172802_432367_B3EF4E6F X-CRM114-Status: GOOD ( 13.03 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-arch@vger.kernel.org, "H. Peter Anvin" , Will Deacon , x86@kernel.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org, Ingo Molnar , Borislav Petkov , Catalin Marinas , Thomas Gleixner , linuxppc-dev@lists.ozlabs.org, linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Mon, 13 Apr 2020, Nicholas Piggin wrote: > We can get a significant win with larger mappings for some of the big > global hashes. > > Since RFC, relevant architectures have added p?d_leaf accessors so no > real arch changes required, and I changed it not to allocate huge > mappings for modules and a bunch of other fixes. > Hi Nicholas, Any performance numbers to share besides the git diff in the last patch in the series? I'm wondering if anything from mmtests or lkp-tests makes sense to try? > Nicholas Piggin (4): > mm/vmalloc: fix vmalloc_to_page for huge vmap mappings > mm: Move ioremap page table mapping function to mm/ > mm: HUGE_VMAP arch query functions cleanup > mm/vmalloc: Hugepage vmalloc mappings > > arch/arm64/mm/mmu.c | 8 +- > arch/powerpc/mm/book3s64/radix_pgtable.c | 6 +- > arch/x86/mm/ioremap.c | 6 +- > include/linux/io.h | 3 - > include/linux/vmalloc.h | 15 + > lib/ioremap.c | 203 +---------- > mm/vmalloc.c | 413 +++++++++++++++++++---- > 7 files changed, 380 insertions(+), 274 deletions(-) > > -- > 2.23.0 > > > _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel