This - switches the INT3 handler to run on an IST stack (to cope with breakpoints set by a kernel debugger on places where the kernel's %gs base hasn't been set up, yet); the IST stack used is shared with the INT1 handler's - allows nesting of INT1/INT3 handlers so that one can, with a kernel debugger, debug (at least) the user-mode portions of the INT1/INT3 handling; the nesting isn't actively enabled here since a kernel- debugger-free kernel doesn't need it From: Jan Beulich <[email protected]> (actual patch attached)
Attachment:
linux-2.6.14-nlkd-x86_64-debug-stack.patch
Description: Binary data
- Follow-Ups:
- Re: [PATCH 18/39] NLKD/x86-64 - INT1/INT3 handling changes
- From: Andi Kleen <[email protected]>
- [PATCH 19/39] NLKD/x86-64 - stack-pointer-invalid markers
- From: "Jan Beulich" <[email protected]>
- Re: [PATCH 18/39] NLKD/x86-64 - INT1/INT3 handling changes
- References:
- [PATCH 0/39] NLKD - Novell Linux Kernel Debugger
- From: "Jan Beulich" <[email protected]>
- [PATCH 1/39] NLKD - an alternative kallsyms approach
- From: "Jan Beulich" <[email protected]>
- [PATCH 2/39] NLKD - an alternative early ioremap approach
- From: "Jan Beulich" <[email protected]>
- [PATCH 3/39] NLKD - early/late CPU up/down notification
- From: "Jan Beulich" <[email protected]>
- [PATCH 6/39] NLKD - early panic notification
- From: "Jan Beulich" <[email protected]>
- [PATCH 7/39] NLKD - task create/destroy notification
- From: "Jan Beulich" <[email protected]>
- [PATCH 8/39] NLKD - rmmod notification
- From: "Jan Beulich" <[email protected]>
- [PATCH 9/39] NLKD - hotkey notification
- From: "Jan Beulich" <[email protected]>
- [PATCH 10/39] NLKD - console layout change notification
- From: "Jan Beulich" <[email protected]>
- [PATCH 11/39] NLKD - time adjustment
- From: "Jan Beulich" <[email protected]>
- [PATCH 13/39] NLKD/x86-64 - time adjustment
- From: "Jan Beulich" <[email protected]>
- [PATCH 0/39] NLKD - Novell Linux Kernel Debugger
- Prev by Date: [PATCH 17/39] NLKD/i386 - core adjustments
- Next by Date: [PATCH 19/39] NLKD/x86-64 - stack-pointer-invalid markers
- Previous by thread: [PATCH 13/39] NLKD/x86-64 - time adjustment
- Next by thread: [PATCH 19/39] NLKD/x86-64 - stack-pointer-invalid markers
- Index(es):