From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756896AbcA2TnG (ORCPT ); Fri, 29 Jan 2016 14:43:06 -0500 Received: from mail.kernel.org ([198.145.29.136]:58693 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756753AbcA2TnE (ORCPT ); Fri, 29 Jan 2016 14:43:04 -0500 From: Andy Lutomirski To: x86@kernel.org, linux-kernel@vger.kernel.org Cc: Borislav Petkov , Brian Gerst , Dave Hansen , Linus Torvalds , Oleg Nesterov , "linux-mm@kvack.org" , Andrey Ryabinin , Andy Lutomirski Subject: [PATCH v3 0/3] x86/mm: INVPCID support Date: Fri, 29 Jan 2016 11:42:56 -0800 Message-Id: X-Mailer: git-send-email 2.5.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Boris, I think you already have these prerequisites queued up: http://lkml.kernel.org/g/1452516679-32040-2-git-send-email-aryabinin@virtuozzo.com http://lkml.kernel.org/g/1452516679-32040-3-git-send-email-aryabinin@virtuozzo.com This is a straightforward speedup on Ivy Bridge and newer, IIRC. (I tested on Skylake. INVPCID is not available on Sandy Bridge. I don't have Ivy Bridge, Haswell or Broadwell to test on, so I could be wrong as to when the feature was introduced.) I think we should consider these patches separately from the rest of the PCID stuff -- they barely interact, and this part is much simpler and is useful on its own. Changes from v2: - Add macros for the INVPCID mode numbers. - Add a changelog message for the chicken bit. v1 was exactly identical to patches 2-4 of the PCID RFC series. Andy Lutomirski (3): x86/mm: Add INVPCID helpers x86/mm: Add a noinvpcid option to turn off INVPCID x86/mm: If INVPCID is available, use it to flush global mappings Documentation/kernel-parameters.txt | 2 ++ arch/x86/include/asm/tlbflush.h | 57 +++++++++++++++++++++++++++++++++++++ arch/x86/kernel/cpu/common.c | 16 +++++++++++ 3 files changed, 75 insertions(+) -- 2.5.0