Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp2935838imm; Mon, 24 Sep 2018 12:32:56 -0700 (PDT) X-Google-Smtp-Source: ACcGV61xelavhsVW4Npx3uw6QoQTTGFqvK3hd2Yh1P2bz2z3lTFCUy6cnuWTBqjG0ivLfdGkAOlZ X-Received: by 2002:a63:31c8:: with SMTP id x191-v6mr207045pgx.229.1537817576745; Mon, 24 Sep 2018 12:32:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1537817576; cv=none; d=google.com; s=arc-20160816; b=sH+an7eRAfwakDiSMcTAGnWTWoAl/9FNjCT0vvU8mBGItc/57KZc9Ky2d/uyapDXeY K1ssoANcu7EG30obOrXbgsqZffJrJnrEKiyRwh4AE4wuJ2ap2d0hPRwAevgGP19qJJ1A JB5eEx64NgwQnmvUzYieI9LMy6g0/WqrHD8EXDtWks6nvCdZC2X0RCV+gKrmLNS1DLQ+ 45JaXj7ylSQ8vuH0H/DJQuiMdRQA2j7zecXcS1MiXcN/mNMP2Xri2s7uc8xXjAqwiKD5 jC4DP5M3n0GrVzgVAl6Ai8O9IBB/VS1taczr/MnDB4mUIqsmX9JvNiF14wYy3yw234nm Pm0g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to:date :cc:to:from:subject:message-id; bh=AOsV2XLwncTltp+VnEO9EKsIidAQRzdpOHmhfz1hdZc=; b=iS5RXloKAbO0nreQaqC8VpLIdrmkUc+wU2DIWEG7p0iJ0WU7V+hEkhrr2fQ9D8Kwoj bAjL0dpyuXdik8I3NxfbIqtewm2o5auL7zLOOQ9TCjfFtWa3jhcFPb1NpH8FD4DIPzg+ PGqtT0W3vRIRznm29EgOsezy12kJRSnD+Lci4Kr7Ib2lVB65ZcpOkjwoASqVJlZ4H+bP 48azv7oam0QJ3/ZWZ/ZirviICW6TwfTN9rUS7vHiMH3fkye6KMUg2+4KdupC+7RQw0+E tQg5mCTXKuyZzFicALD13bVVK+Q23y7ticpGjUlJDNw41CP7i78mlqPBRIOeHBjC3p44 lH+g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g21-v6si139074pgk.232.2018.09.24.12.32.41; Mon, 24 Sep 2018 12:32:56 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387916AbeIYAya (ORCPT + 99 others); Mon, 24 Sep 2018 20:54:30 -0400 Received: from shelob.surriel.com ([96.67.55.147]:36428 "EHLO shelob.surriel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729021AbeIYAya (ORCPT ); Mon, 24 Sep 2018 20:54:30 -0400 Received: from imladris.surriel.com ([96.67.55.152]) by shelob.surriel.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.90_1) (envelope-from ) id 1g4Vwc-0002x9-U6; Mon, 24 Sep 2018 14:50:54 -0400 Message-ID: <74020842196c81ae6b3910690931fec09b7eac1c.camel@surriel.com> Subject: Re: [PATCH 0/7] x86/mm/tlb: make lazy TLB mode even lazier From: Rik van Riel To: linux-kernel@vger.kernel.org Cc: peterz@infradead.org, kernel-team@fb.com, songliubraving@fb.com, mingo@kernel.org, will.deacon@arm.com, hpa@zytor.com, luto@kernel.org, npiggin@gmail.com Date: Mon, 24 Sep 2018 14:50:54 -0400 In-Reply-To: <20180924183759.23955-1-riel@surriel.com> References: <20180924183759.23955-1-riel@surriel.com> Content-Type: multipart/signed; micalg="pgp-sha256"; protocol="application/pgp-signature"; boundary="=-dXQpvxIXiF6bWZw6csso" X-Mailer: Evolution 3.28.5 (3.28.5-1.fc28) Mime-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --=-dXQpvxIXiF6bWZw6csso Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Mon, 2018-09-24 at 14:37 -0400, Rik van Riel wrote: > Linus asked me to come up with a smaller patch set to get the > benefits > of lazy TLB mode, so I spent some time trying out various > permutations > of the code, with a few workloads that do lots of context switches, > and > also happen to have a fair number of TLB flushes a second. I made a nice list of which patches this code is based on, but I forgot to copy it into my intro email. The patches are based on current -tip, plus: - tip x86/core: 012e77a903d ("x86/nmi: Fix NMI uaccess race against CR3 switching") - arm64 tlb/asm-generic branch, including - faaadaf315b4 ("asm-generic/tlb: Guard with #ifdef CONFIG_MMU") - 22a61c3c4f13 ("asm-generic/tlb: Track freeing of page-table directories in struct mmu_gather") - a6d60245d6d9 ("asm-generic/tlb: Track which levels of the page tables have been cleared") --=20 All Rights Reversed. --=-dXQpvxIXiF6bWZw6csso Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iQEzBAABCAAdFiEEKR73pCCtJ5Xj3yADznnekoTE3oMFAlupMg4ACgkQznnekoTE 3oNmjAf7B/aWZb4eaq5tczysldBRvcmPzyMRZu/v3e0MB/BSF+WeWQy66RMMDBxE hQWCI8X5c0hSv/bClNbsBxSx68Zk76/I+Oc+Vnbg/T9qgynuSlHz8dqX5dW6PkDO HezgHZsaagVCuzsnpE2QcD+cwTD8q54IKGX1m0hyttRE1C2XUy/2bFYAVTPe4dhs f6XJBnUA+l29ChfcPGicZ6ruYA56OipIpYsb2I51nuPJRsHs0WewOmLOCxfynXRQ nEaFeVDbKaEsUKhr+H6iJ5wyCef4O7t7KTWO6Mq61W281oxB8t2ZRbtpSl2RHp7a 1hnSlcFO6XNx3Xx2pb74k62bGj8xvQ== =LllL -----END PGP SIGNATURE----- --=-dXQpvxIXiF6bWZw6csso--