[lkml]   [2019]   [Apr]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [patch 00/14] x86/exceptions: Add guard patches to IST stacks
On Sun, Mar 31, 2019 at 3:10 PM Thomas Gleixner <> wrote:
> Hi!
> While looking for something different I stumbled over the comment in struct
> cpu_entry_area:
> * Exception stacks used for IST entries.
> *
> * In the future, this should have a separate slot for each stack
> * with guard pages between them.
> As usual with such comments they are added in good faith and then
> forgotten. Looking what it takes to fix that let me stumble over some other
> leftovers like orig_ist[], now unused macros, useless defines and a bunch
> of assumptions about the exception stacks being a big lump. Aside of that I
> found a too broad check of the exception stack in the x86/64 stack overflow
> detector.
> The following series cleans that up and gradually prepares for guard pages
> between the IST stacks.

Thanks! I'll review this over the next couple days.

Meanwhile, if you're inspired, I have a WIP series to do the same
thing to the IRQ stacks here:

Want to take a look or pick it up if you want to keep working on this?

 \ /
  Last update: 2019-04-01 06:04    [W:0.218 / U:6.648 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site