Received: by 10.192.165.156 with SMTP id m28csp809902imm; Mon, 16 Apr 2018 09:03:46 -0700 (PDT) X-Google-Smtp-Source: AIpwx49FAm53kC+q3wZXaxKYGSsT9eu70wj8CyyR8Xm5vThLEUYWy/DDlGfEH+iV/PTRPL9OmFEn X-Received: by 2002:a17:902:59ce:: with SMTP id d14-v6mr16222388plj.253.1523894626235; Mon, 16 Apr 2018 09:03:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523894626; cv=none; d=google.com; s=arc-20160816; b=X83zeuI+CunHK1mC5uwIdh8K8snpoMHoy7o4E9HSdU6uAugxEkOn5Jhm+aZldwfzLx jGlwDW/gS2Mj6C/LlP7gUagoZVsAdxMWaBeNz5ZIdf4tQwPnuCSVy2NxXmkJEXoY7quE dKfXG2OvMxOgTcUqpneXF8T1xepc5ZjUaIOSGi2XB4tPoI+RXGvKwjprLVBGFyFy9aVX VE/qQdCOUyFWpPzBpcDtabT1O4u0FYtbLMGk9q5+lN+3fAaCQQOehtxe5S5lsaqmP4Vq iKUUUu3v5qAfC2RKijfrDDvbuIYFGT2sWJKCAEPNQDuPNVDr2hn4TIRCf/A8kWZJ+uj/ V/2w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature:arc-authentication-results; bh=OzLpdeJMh3cUXJJFtvawC0yROyp1Ga6v5f0nDs5eGsg=; b=ilVEgmbKstculXo3nJ7wH9xnMAp9/8YU7Qu+scRkkoZkBcZ4LABfkg5h7JKy+rtF4B bpQBDgYlsYaXmgfdRnWw3X5pP7oQRWknlQe450ChJtSZANuh1Zoucj9nz5gwE5zFh8rV dQT73XYGKWmz2eEqfaADvUm5z2mq3sblzUhu25KdpwsYUxlhJOQ1NUpJXopoA/yvzfc1 3f0fmS2+4P1/oKeyZ2VQL9IYpPfqWV8K06ctl7u1aoM9cl56y26jSyoch2dJe2cM4rU2 PiAAB3o/NPtQoEXAceWA2AqE+U+FqU1CNJ3ewDvTJPCAIZg2x0PSPJ8jKv/rZMjl5fQK LSEA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail (test mode) header.i=@8bytes.org header.s=mail-1 header.b=qGrRrxpR; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=8bytes.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t131si9872454pgc.664.2018.04.16.09.03.29; Mon, 16 Apr 2018 09:03:46 -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; dkim=fail (test mode) header.i=@8bytes.org header.s=mail-1 header.b=qGrRrxpR; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=8bytes.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752209AbeDPQB4 (ORCPT + 99 others); Mon, 16 Apr 2018 12:01:56 -0400 Received: from 8bytes.org ([81.169.241.247]:38510 "EHLO theia.8bytes.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751060AbeDPQBz (ORCPT ); Mon, 16 Apr 2018 12:01:55 -0400 Received: by theia.8bytes.org (Postfix, from userid 1000) id 43F2A29B; Mon, 16 Apr 2018 18:01:54 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=8bytes.org; s=mail-1; t=1523894514; bh=PdeUgWAPb/EbNZOVGh9PE9OEyR95LuZfcsfXCMuHRE0=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=qGrRrxpRDMz2kDzLp6+VNN+Z+FdRJQnTR5wkTqqREuof3L1u7BTosJg0pbH0+j/8a FLPeuLyT/dAg6zHKNcMuc+w2Jdt8tvYODtFBN4VMd+DHWw80Knfg640RR70tgMklbR vLrfAlCYNCGDUlGd0S4IutXefZdf6zMBZtJjH/oslsEH0Um6IdIxzZ6KAUUdLEj1vI emDKzxY9NpwZ1IoYxv2mk9/AvDXiKyAja1L81j/F5NN3vKvnbSJYQ7lFYfbF/JXF4j MNh/wwbP0UbVIitYkEzXTOGqoUwfbD37vfWTjPBee/O0vFhnT6eLRYO0JrqEsEG+pz GR3VbeuowkkSg== Date: Mon, 16 Apr 2018 18:01:54 +0200 From: Joerg Roedel To: Linus Torvalds Cc: Thomas Gleixner , Ingo Molnar , "H . Peter Anvin" , the arch/x86 maintainers , Linux Kernel Mailing List , linux-mm , Andy Lutomirski , Dave Hansen , Josh Poimboeuf , Juergen Gross , Peter Zijlstra , Borislav Petkov , Jiri Kosina , Boris Ostrovsky , Brian Gerst , David Laight , Denys Vlasenko , Eduardo Valentin , Greg KH , Will Deacon , "Liguori, Anthony" , Daniel Gruss , Hugh Dickins , Kees Cook , Andrea Arcangeli , Waiman Long , Pavel Machek , "David H . Gutteridge" , Joerg Roedel Subject: Re: [PATCH 00/35 v5] PTI support for x32 Message-ID: <20180416160154.GE15462@8bytes.org> References: <1523892323-14741-1-git-send-email-joro@8bytes.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Linus, On Mon, Apr 16, 2018 at 08:32:46AM -0700, Linus Torvalds wrote: > Also, it would be nice to have performance numbers, Here are some numbers I gathered for Ingo on v2 of the patch-set: https://marc.info/?l=linux-kernel&m=151844711432661&w=2 I don't think they significantly changed, but I can measure them again if needed. Besides those, what other numbers/tests are you interested in? > and check that the global page issues are at least fixed on 32-bit > too, since we screwed that up on x86-64 initially. > > On x86-32, the global pages are likely a bigger deal since there's no PCID. Okay, I verify if there are any global bits left in the page-tables. According to the PTDUMP_X86 the cpu_entry_area is mapped with G=1 (which should be fine?) and another 4M range in the kernel mapping. I need to check what that is. Thanks, Joerg > > Linus