Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp4501624ybb; Tue, 14 Apr 2020 08:30:44 -0700 (PDT) X-Google-Smtp-Source: APiQypIa61izGcM8zfH1tidnkh55BhhWIDNtRb3s5b2MEn6wiFFFNjzr5dOjtj2johvSsldOoST1 X-Received: by 2002:a50:b061:: with SMTP id i88mr21413857edd.325.1586878244174; Tue, 14 Apr 2020 08:30:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1586878244; cv=none; d=google.com; s=arc-20160816; b=R3LNNZzZ+rOjtx8L5akSJ5wIsGs1X6cnDc5OQ2hLC7fSPc4u5m1pGuTUfwk6khQFt0 Maa0tCIeNalXdSt+TBzSiDC6XBzoLtFEVt+FTIispzEQUsfJXBqpk/1DkbW86WpG8IPO z8onPa5OLRPeLTAUBz5EX0xJOiZWuw8sy3HpL1wFDKv2kZVUK7kQaRlpU1mi2fkfhwo/ EPRxOEEI37Gf20ZQ0I2JS2k8qP4eo2lEL8A5GWOQWXG+o2mefZf6jBRQHsoRC2624G0Y leDPOqJ1FOr1YxVbKVQjz2UQ+Xc27PVsSTI0bBsn+NFfzBKQxA/i56YO5DDXOAahuC7g 7DBw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:message-id :mime-version:in-reply-to:references:cc:to:subject:from:date :dkim-signature; bh=Rb/je2Xt8A81/xIFagwzCqIYQq2/FJP34odIX+hqS1U=; b=ilFlX7Fgtoky+rE7H9f3tj3bzxvca5xH0wuifq7Kh05mkEyJkKCTb2AHGnbRPmKmbB OtZbb/FfTGVr76FXPwxz1kaS/fzGif/BuaTGavAh38VmlNuPsbPqxJPBhulSd619VZjP yv7jRMURX6Wceh+Q4bo7LN/1stDlfKVC5sSjpPvwS2HMRppmjXWrP8P03dh4nmea+qSb 2zhirdO3HNyJHtkYliCh9VdRPGGlSSZpeLjbE4reQeqyRlRQ8MNEBkclPrvZFpEce3/Q tnEz8LBFM6SyskTByw0NyXJPF5Ff8dH6NaDGhfqJwFP8zTgqFocIvE6mhuyJpya6dXlY YeVw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=UTY8X432; spf=pass (google.com: best guess record for 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id j8si7915423ejt.348.2020.04.14.08.30.20; Tue, 14 Apr 2020 08:30:44 -0700 (PDT) Received-SPF: pass (google.com: best guess record for 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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=UTY8X432; spf=pass (google.com: best guess record for 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2440071AbgDNMYy (ORCPT + 99 others); Tue, 14 Apr 2020 08:24:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47192 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S2440027AbgDNMYx (ORCPT ); Tue, 14 Apr 2020 08:24:53 -0400 Received: from mail-pg1-x542.google.com (mail-pg1-x542.google.com [IPv6:2607:f8b0:4864:20::542]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4B2A1C061A0C; Tue, 14 Apr 2020 05:24:53 -0700 (PDT) Received: by mail-pg1-x542.google.com with SMTP id n16so283088pgb.7; Tue, 14 Apr 2020 05:24:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:subject:to:cc:references:in-reply-to:mime-version :message-id:content-transfer-encoding; bh=Rb/je2Xt8A81/xIFagwzCqIYQq2/FJP34odIX+hqS1U=; b=UTY8X432PCL3xnyTGZfBuHl+0Bru8fmRiTRB3WNI37NEJ7KTMzoFLX2u03Uns6v3uq F/zxrSmFmkbGZUSIlNotinDSbHpNioo3BPibPY7Hq3u6abi0GiJHTsb44JDJWQtNBlCL vWKBwbGGopau7TdSdq4RHW5AYBcXX3ugO1gg/D9VurF5nr9DU9//Hc3tebF+AEXw7p23 IjjZGeRtC+Y+5OKiYdSGb61HJWL626shxWK/InsgIDK/s0OVVuqFs8+Mx/Y7v6OWCPfA Y3tBiSH2mMbAHzyhVjdorRuJ5pwhgLWdYVX8ynemqDENLjjuLIWBi7zBSb9Y2MMRVhXc niCg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:subject:to:cc:references:in-reply-to :mime-version:message-id:content-transfer-encoding; bh=Rb/je2Xt8A81/xIFagwzCqIYQq2/FJP34odIX+hqS1U=; b=dPUGhstpUOZVJxukD/4L8BjrZIOhm91rFQJWbTEkLwBd3aDug+BBijIQbJAueOfpE+ y4B73cr4guPWa6JqPP4DzKo0htrHKv6H7IeOj/diHLr7W4H8WBbAGv1tDdg8qvwW0+lB YBiaLcHOH1hXCzvX8d2/mLl9UQjBUQUsXGotoV7wNwy/0CUyeu1tiUovNBgDcxcGQWCd hXHob9A/dP2MmsPF1DY1EWv1+TTMnQLaKNqCuDosjImOARM0PtL50XN5N7ne2H03p76p D4MAfWB07odS8aoTeBGTQJAIMBTUV7G4qkUviBTmokWAqmzlk4ylJ7mjukVWQfmUt48P rACw== X-Gm-Message-State: AGi0PuZWZL8uTymah2emiEgQUmM1hstb/bhoawHgtlR63cfzwmwTJ8CD qJafZTFNXl0nR8ewBoYi42Y= X-Received: by 2002:a62:5e86:: with SMTP id s128mr23700777pfb.157.1586867092854; Tue, 14 Apr 2020 05:24:52 -0700 (PDT) Received: from localhost ([203.18.28.220]) by smtp.gmail.com with ESMTPSA id p19sm1389150pfn.19.2020.04.14.05.24.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 14 Apr 2020 05:24:52 -0700 (PDT) Date: Tue, 14 Apr 2020 22:23:11 +1000 From: Nicholas Piggin Subject: Re: [PATCH v2 0/4] huge vmalloc mappings To: David Rientjes Cc: Borislav Petkov , Catalin Marinas , "H. Peter Anvin" , linux-arch@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org, linuxppc-dev@lists.ozlabs.org, Ingo Molnar , Thomas Gleixner , Will Deacon , x86@kernel.org References: <20200413125303.423864-1-npiggin@gmail.com> In-Reply-To: MIME-Version: 1.0 Message-Id: <1586866432.g0r7udmtjr.astroid@bobo.none> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Excerpts from David Rientjes's message of April 14, 2020 10:27 am: > On Mon, 13 Apr 2020, Nicholas Piggin wrote: >=20 >> We can get a significant win with larger mappings for some of the big >> global hashes. >>=20 >> 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. >>=20 >=20 > Hi Nicholas, >=20 > Any performance numbers to share besides the git diff in the last patch i= n=20 > the series? I'm wondering if anything from mmtests or lkp-tests makes=20 > sense to try? Hey, no I don't have any other tests I've run. Some of the networking hashes do make use of it as well though, and might see a few % in the right kind of workload. There's probably a bunch of other stuff where it could help a little bit, looking through the tree, I just don't have anything specific. Thanks, Nick