From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755620AbcHVVst (ORCPT ); Mon, 22 Aug 2016 17:48:49 -0400 Received: from mga06.intel.com ([134.134.136.31]:44798 "EHLO mga06.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752059AbcHVVss (ORCPT ); Mon, 22 Aug 2016 17:48:48 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.28,562,1464678000"; d="scan'208";a="1018697564" From: Andi Kleen To: Josh Poimboeuf Cc: Thomas Gleixner , Ingo Molnar , "H . Peter Anvin" , x86@kernel.org, linux-kernel@vger.kernel.org, Andy Lutomirski , Linus Torvalds , Steven Rostedt , Brian Gerst , Kees Cook , Peter Zijlstra , Frederic Weisbecker , Byungchul Park , Nilay Vaish Subject: Re: [PATCH 5/8] x86/head: remove useless zeroed word References: Date: Mon, 22 Aug 2016 14:48:46 -0700 In-Reply-To: (Josh Poimboeuf's message of "Thu, 18 Aug 2016 10:59:05 -0500") Message-ID: <87y43ozd8h.fsf@tassilo.jf.intel.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Josh Poimboeuf writes: > This zeroed word has no apparent purpose, so remove it. > > Brian Gerst says: > > "FYI the word used to be the SS segment selector for the LSS > instruction, which isn't needed in 64-bit mode." > Seems dangerous. It wouldn't surprise me if some CPUs or x86 emulations load it anyways and trigger page faults if there is really nothing there. -Andi