[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CA+55aFyJXB4kDiX41HizJ0Bd4s+81b0eLKRcruHkjwOJ-DeM2A@mail.gmail.com>
Date: Mon, 27 Nov 2017 11:26:30 -0800
From: Linus Torvalds <torvalds@...ux-foundation.org>
To: Ingo Molnar <mingo@...nel.org>
Cc: Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
Dave Hansen <dave.hansen@...ux.intel.com>,
Andy Lutomirski <luto@...capital.net>,
Thomas Gleixner <tglx@...utronix.de>,
"H . Peter Anvin" <hpa@...or.com>,
Peter Zijlstra <peterz@...radead.org>,
Borislav Petkov <bp@...en8.de>
Subject: Re: [PATCH 11/21] x86/dumpstack: Handle stack overflow on all stacks
On Mon, Nov 27, 2017 at 2:45 AM, Ingo Molnar <mingo@...nel.org> wrote:
> From: Andy Lutomirski <luto@...nel.org>
>
> We currently special-case stack overflow on the task stack. We're
> going to start putting special stacks in the fixmap with a custom
> layout, so they'll have guard pages, too. Teach the unwinder to be
> able to unwind an overflow of any of the stacks.
Why isn't this together with 01/21? The two cases seem to be entirely
identical and fundamentally the same issue.
In fact, maybe the whole "stack overflow" special cases should be in
"get_stack_info()" itself, rather than be special-cased in the
callers?
Linus
Powered by blists - more mailing lists