Re: [patch V4 part 4 20/24] x86/traps: Restructure #DB handling

2020-05-14 Thread Andy Lutomirski
On Tue, May 5, 2020 at 7:16 AM Thomas Gleixner wrote: > > Now that there are separate entry points, move the kernel/user_mode specifc > checks into the entry functions so the common handling code does not need > the extra mode checks. Make the code more readable while at it. Acked-by: Andy

[patch V4 part 4 20/24] x86/traps: Restructure #DB handling

2020-05-05 Thread Thomas Gleixner
Now that there are separate entry points, move the kernel/user_mode specifc checks into the entry functions so the common handling code does not need the extra mode checks. Make the code more readable while at it. Signed-off-by: Thomas Gleixner --- arch/x86/kernel/traps.c | 69