From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753208AbcHOPmi (ORCPT ); Mon, 15 Aug 2016 11:42:38 -0400 Received: from mx1.redhat.com ([209.132.183.28]:38904 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752998AbcHOPmg (ORCPT ); Mon, 15 Aug 2016 11:42:36 -0400 Date: Mon, 15 Aug 2016 10:42:33 -0500 From: Josh Poimboeuf To: Andy Lutomirski Cc: Thomas Gleixner , Ingo Molnar , "H . Peter Anvin" , X86 ML , "linux-kernel@vger.kernel.org" , Linus Torvalds , Steven Rostedt , Brian Gerst , Kees Cook , Peter Zijlstra , Frederic Weisbecker , Byungchul Park , Nilay Vaish Subject: Re: [PATCH v3 45/51] x86: remove 64-byte gap at end of irq stack Message-ID: <20160815154233.gquogzg24q3jtcdh@treble> References: <06bfdd4d0dce8ac4b084dc4deb39a0643edb9e33.1471011425.git.jpoimboe@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.6.0.1 (2016-04-01) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.31]); Mon, 15 Aug 2016 15:42:36 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Aug 14, 2016 at 12:52:40AM -0700, Andy Lutomirski wrote: > On Fri, Aug 12, 2016 at 7:29 AM, Josh Poimboeuf wrote: > > There has been a 64-byte gap at the end of the irq stack for at least 12 > > years. It predates git history, and I can't find any good reason for > > it. Remove it. What's the worst that could happen? > > I can't think of any reason this would matter. > > For that matter, do you have any idea why irq_stack_union is a union > or why we insist on sticking it at %gs:0? Sure, the *canary* needs to > live at a fixed offset (because GCC is daft, sigh), but I don't see > what that has to do with the rest of the IRQ stack. Good question. I have no idea... -- Josh