From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755903AbeASPuA (ORCPT ); Fri, 19 Jan 2018 10:50:00 -0500 Received: from terminus.zytor.com ([65.50.211.136]:56811 "EHLO terminus.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755398AbeASPtu (ORCPT ); Fri, 19 Jan 2018 10:49:50 -0500 Date: Fri, 19 Jan 2018 07:48:40 -0800 From: "tip-bot for zhenwei.pi" Message-ID: Cc: linux-kernel@vger.kernel.org, zhenwei.pi@youruncloud.com, mingo@kernel.org, tglx@linutronix.de, hpa@zytor.com Reply-To: hpa@zytor.com, tglx@linutronix.de, mingo@kernel.org, linux-kernel@vger.kernel.org, zhenwei.pi@youruncloud.com In-Reply-To: <1516237492-27739-1-git-send-email-zhenwei.pi@youruncloud.com> References: <1516237492-27739-1-git-send-email-zhenwei.pi@youruncloud.com> To: linux-tip-commits@vger.kernel.org Subject: [tip:x86/pti] x86/pti: Document fix wrong index Git-Commit-ID: 98f0fceec7f84d80bc053e49e596088573086421 X-Mailer: tip-git-log-daemon Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=UTF-8 Content-Disposition: inline Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Commit-ID: 98f0fceec7f84d80bc053e49e596088573086421 Gitweb: https://git.kernel.org/tip/98f0fceec7f84d80bc053e49e596088573086421 Author: zhenwei.pi AuthorDate: Thu, 18 Jan 2018 09:04:52 +0800 Committer: Thomas Gleixner CommitDate: Fri, 19 Jan 2018 16:31:29 +0100 x86/pti: Document fix wrong index In section <2. Runtime Cost>, fix wrong index. Signed-off-by: zhenwei.pi Signed-off-by: Thomas Gleixner Cc: dave.hansen@linux.intel.com Link: https://lkml.kernel.org/r/1516237492-27739-1-git-send-email-zhenwei.pi@youruncloud.com --- Documentation/x86/pti.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/x86/pti.txt b/Documentation/x86/pti.txt index d11eff6..5cd5843 100644 --- a/Documentation/x86/pti.txt +++ b/Documentation/x86/pti.txt @@ -78,7 +78,7 @@ this protection comes at a cost: non-PTI SYSCALL entry code, so requires mapping fewer things into the userspace page tables. The downside is that stacks must be switched at entry time. - d. Global pages are disabled for all kernel structures not + c. Global pages are disabled for all kernel structures not mapped into both kernel and userspace page tables. This feature of the MMU allows different processes to share TLB entries mapping the kernel. Losing the feature means more