[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CALCETrVgAzrddikck2A+EuADHcs45Tm+-+DhTeXnvWHJgtxn3A@mail.gmail.com>
Date: Thu, 21 Jul 2016 15:01:10 -0700
From: Andy Lutomirski <luto@...capital.net>
To: Josh Poimboeuf <jpoimboe@...hat.com>
Cc: Thomas Gleixner <tglx@...utronix.de>,
Ingo Molnar <mingo@...nel.org>,
"H . Peter Anvin" <hpa@...or.com>, X86 ML <x86@...nel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
Linus Torvalds <torvalds@...ux-foundation.org>,
Steven Rostedt <rostedt@...dmis.org>,
Brian Gerst <brgerst@...il.com>,
Kees Cook <keescook@...omium.org>,
Peter Zijlstra <peterz@...radead.org>,
Frederic Weisbecker <fweisbec@...il.com>,
Byungchul Park <byungchul.park@....com>
Subject: Re: [PATCH 07/19] x86/dumpstack: add IRQ_USABLE_STACK_SIZE define
On Thu, Jul 21, 2016 at 2:21 PM, Josh Poimboeuf <jpoimboe@...hat.com> wrote:
> For reasons unknown, the x86_64 irq stack starts at an offset 64 bytes
> from the end of the page. At least make that explicit.
This is a change in behavior -- see below. Please mention this in the
changelog.
>
> FIXME: Can we just remove the 64 byte gap? If not, at least document
> why.
I have no clue.
>
> irq_stack_end = (unsigned long *)(per_cpu(irq_stack_ptr, cpu));
> - irq_stack = (unsigned long *)(per_cpu(irq_stack_ptr, cpu) - IRQ_STACK_SIZE);
> + irq_stack = (unsigned long *)(per_cpu(irq_stack_ptr, cpu) -
> + IRQ_USABLE_STACK_SIZE);
This is different.
Powered by blists - more mailing lists