[lkml]   [2015]   [Apr]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH 4/8] x86: Add support for rd/wr fs/gs base
On Fri, Apr 10, 2015 at 4:05 PM, Andi Kleen <> wrote:
>> One might argue that this code serves no purpose, but it's there, so
>> we had better keep our per-invocation usage of DEBUG_STACK within 4k.
> Only if you run NKLD. I doubt KDB or GDB support nesting.
> We can ask Jan if he still uses it.

You can trigger these things in various ways with kprobes,
single-stepping, and user-space watchpoints. These things can
definitely nest in interesting ways. Whether or not the IST shift
mechanism is involved if they nest is a complicated question, because
there's also the "debug" IDT in play.

OMG this code is overcomplicated.


 \ /
  Last update: 2015-04-11 01:21    [W:0.084 / U:4.480 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site