Received: by 10.223.185.116 with SMTP id b49csp542831wrg; Fri, 16 Feb 2018 03:17:14 -0800 (PST) X-Google-Smtp-Source: AH8x227yh7QMNRylYVTjyv+nbmtpF1IPb+nRFNWKd5OD5FlLSePx1h+hlbSHzqbaHNyCJIDdPRJE X-Received: by 2002:a17:902:a03:: with SMTP id 3-v6mr5581043plo.282.1518779834660; Fri, 16 Feb 2018 03:17:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518779834; cv=none; d=google.com; s=arc-20160816; b=tOA9LScU0n5AmrBPOsqylltbfDjRLqNlKFhZvPRL7Nyx/nAtsm9MLRwADjK3OUHMw0 oA/cF858P4g6U0+IacANQIb8UOB+bunmIN8ztrpdURavU/9Cj6UA9C3nIqGhYdTBIQnj m+pEHxAqut7nRX6C/WudbnQm4wf0U8okDUKVougyVY1o+oJIzr5JKxqfaEI6sMhl7wgw XyTc9DmjkQJlD40GwwzFwVXIZUf1PEJknyAZRUIoJGPlKxQP9gx98DaSr9GHNmrMNZyb 48on373h/l5LD4b/tj0SQPF4Rp75j3VfxpBeMzoHdfzzFv9pu9S1n+MF3k7gjLQz0iJ/ IRqw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature :arc-authentication-results; bh=bbB4SyXIfMBcqSlFd7F4BRdGK4+Ie7jclyKOuVUAHYA=; b=Ydiw9q2HCn/TlGLPpB1jF5Y255SxdbqK4lRd9dsMagU/WgAzrP4Si7kSZhyMOrmcNJ cvIXhHuKwYER8X/uBwjnyHZ/Rf13fmbh6fjxZ3nnjL1HdGyg4hlIlJb8XSB3fvC49bBf A2oMQkeVVcBvzJt48hpVFNwSecX6fbre4afT71mboTo7C1GSpwLPA0UbxXReaya8L4k2 Ad6mK4qE7YVEsyt0vcoizfWfrJ125fKPMARhGEriZYF6r0zgGs0AGnUU1BvvDURLQB9f 7PoxlKxHA+MSLK8sRR6SKZq030KQohbIcCtXw1TXFVRqznMFtb4nr77r9TX80DqsXww8 MJZQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=jl8FwVTd; 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 p10si1031140pfe.171.2018.02.16.03.17.00; Fri, 16 Feb 2018 03:17:14 -0800 (PST) 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; dkim=fail header.i=@gmail.com header.s=20161025 header.b=jl8FwVTd; 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 S1946111AbeBORrO (ORCPT + 99 others); Thu, 15 Feb 2018 12:47:14 -0500 Received: from mail-it0-f45.google.com ([209.85.214.45]:39420 "EHLO mail-it0-f45.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1164425AbeBORrL (ORCPT ); Thu, 15 Feb 2018 12:47:11 -0500 Received: by mail-it0-f45.google.com with SMTP id l187so1539618ith.4 for ; Thu, 15 Feb 2018 09:47:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=bbB4SyXIfMBcqSlFd7F4BRdGK4+Ie7jclyKOuVUAHYA=; b=jl8FwVTd7zwpIZm7GdxDGGMvD7wDqfwbCkrPTmj7GIHIS6dDnp77BgRjXGDl6EO0lB Lqwni3rHpdm7n98JhNjjhYi9D98bE+8Ak6sk2z32y7Pzxi9lkpo1PsPfgHOEN2lAvXVO eyyAGHGXP3QMy0PdnjplKstKZ8+I5qTYvFR7Jsi6gyF7iCSNHatkwE48lvBselBmu1ov viC1AtDFn+CBpeX5Q3b4JK/fO4AwdGD0QCAd5F7fwmTwFlyNx4mJNQrVnPY/W5NpzCmR Q6d5JGtnjTs7y0kzf8K0L17m2h3qaQBD8uW7Z+hQda19ZX4hVU3ZWx5gLodJGpaGY2ss 2y6g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=bbB4SyXIfMBcqSlFd7F4BRdGK4+Ie7jclyKOuVUAHYA=; b=aprbixKedtKtElMATw0N1WNOBAVMUdCC/H3jUL1JSw3QVExyZt/zj5wX1umgOgQxaR WrTyMXPCe+bhz6KxE2N4Ydduunt0psE41CPDKJRi+hAdj48KCFJlILPRvjWh47SD3tz8 dmT99MZOoxON/e7qTZOSC0LNtzFZYN1N8khrpBYjxsVpZ2s0n0zbh9VGoWpvm0O0uZXz BwHQwPIvNOV6lv+Q9b3Zu2Oxg7esumUKRa8gOa8t4l0gKE1sZWF95Mktuqjysf5UqEXv dxz+/YVWGWwFmhxdCEjXZeHsiWAp7Gz2vHk6pDQ67OvQDVAV/qevZcVRVfe86As9/pc3 pYxA== X-Gm-Message-State: APf1xPCsVVVTXPxjgaKklI/3FIrZMe/GD4v5usZwrVEh5UuLoTJ+hNWY e4MGqIbYTxi4DAM8RP+T9rrIrqRPSDhqo5b76Ak= X-Received: by 10.36.94.199 with SMTP id h190mr4144517itb.21.1518716830687; Thu, 15 Feb 2018 09:47:10 -0800 (PST) MIME-Version: 1.0 Received: by 10.107.135.221 with HTTP; Thu, 15 Feb 2018 09:47:10 -0800 (PST) In-Reply-To: <20180215132053.6C9B48C8@viggo.jf.intel.com> References: <20180215132053.6C9B48C8@viggo.jf.intel.com> From: Linus Torvalds Date: Thu, 15 Feb 2018 09:47:10 -0800 X-Google-Sender-Auth: -uOE777Qr5qGNJVCloirr9KnIXQ Message-ID: Subject: Re: [PATCH 0/3] Use global pages with PTI To: Dave Hansen Cc: Linux Kernel Mailing List , linux-mm , Andrew Lutomirski , Kees Cook , Hugh Dickins , =?UTF-8?B?SsO8cmdlbiBHcm/Dnw==?= , "the arch/x86 maintainers" Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Feb 15, 2018 at 5:20 AM, Dave Hansen wrote: > > During the switch over to PTI, we seem to have lost our ability to have > GLOBAL mappings. Oops. Odd, I have this distinct memory of somebody even _testing_ the global bit performance when I pointed out that we shouldn't just make the bit go away entirely. [ goes back and looks at archives ] Oh, that was in fact you who did that performance test. Heh. Anyway, back then you claimed a noticeable improvement on that will-it-scale test (although a bigger one when pcid wasn't available), so yes, if we lost the "global pages for the shared user/kernel mapping" bit we should definitely get this fixed. Did you perhaps re-run any benchmark numbers just to verify? Because it's always good to back up patches that should improve performance with actual numbers.. Linus