From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752648AbbHaVBT (ORCPT ); Mon, 31 Aug 2015 17:01:19 -0400 Received: from mail-ob0-f169.google.com ([209.85.214.169]:35195 "EHLO mail-ob0-f169.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752023AbbHaVBR (ORCPT ); Mon, 31 Aug 2015 17:01:17 -0400 MIME-Version: 1.0 From: Andy Lutomirski Date: Mon, 31 Aug 2015 14:00:57 -0700 Message-ID: Subject: Why is irq_stack_union a union? To: Brian Gerst , "linux-kernel@vger.kernel.org" , X86 ML Cc: Steven Rostedt , Andi Kleen Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Why not just a struct? Also, why is this all tangled up in gsbase initialization? And why does irq_stack_ptr point 64 bytes from the top? And why does the stack overflow thing look STACK_TOP_MARGIN == 128 bytes from the top? Confused. --Andy -- Andy Lutomirski AMA Capital Management, LLC