From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751935AbeCXAyi (ORCPT ); Fri, 23 Mar 2018 20:54:38 -0400 Received: from mail-io0-f196.google.com ([209.85.223.196]:43487 "EHLO mail-io0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751745AbeCXAyg (ORCPT ); Fri, 23 Mar 2018 20:54:36 -0400 X-Google-Smtp-Source: AIpwx4+Y6oppEnyTbGUCxL+G/8kz85dbwUbqHWDzatUL6jpL3Qd2U6MiTDP9Xdv9quECvVABMcj4ltVaWhv5Wqp/mnA= MIME-Version: 1.0 In-Reply-To: References: <20180323174447.55F35636@viggo.jf.intel.com> From: Linus Torvalds Date: Fri, 23 Mar 2018 17:54:35 -0700 X-Google-Sender-Auth: 6k7sQIolWKxtFWX1whWWoYvyXls Message-ID: Subject: Re: [PATCH 00/11] Use global pages with PTI To: Dave Hansen Cc: Linux Kernel Mailing List , linux-mm , Andrea Arcangeli , Andrew Lutomirski , Kees Cook , Hugh Dickins , =?UTF-8?B?SsO8cmdlbiBHcm/Dnw==?= , "the arch/x86 maintainers" , namit@vmware.com Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Mar 23, 2018 at 5:46 PM, Linus Torvalds wrote: > > It is, of course, possible that I misunderstood what you actually > benchmarked. But I assume the above benchmark numbers are with the > whole "don't even do global entries if you have PCID". Oh, I went back and read your description, and realized that I _had_ misunderstood what you did. I thought you didn't bother with global pages at all when you had PCID. But that's not what you meant. You always do global for the actual user-mapped kernel pages, but when you don't have PCID you do *all* kernel test as global, whether shared or not. So I entirely misread what the latest change was. Linus