lkml.org 
[lkml]   [2020]   [Jun]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [patch V9 00/39] x86/entry: Rework leftovers (was part V)
On Thu, Jun 04, 2020 at 08:42:52AM -0700, Andy Lutomirski wrote:

> x86 is not an architecture. x86 is a gauntlet through which operating
> system developers must run.

That made my day :-)

> I think we can tolerate this particular mess -- can't we just say that
> a BUS LOCK DEBUG EXCEPTION is fatal if it came from kernel mode? So
> what if it nests inside #DB -- we can survive an oops from a corrupt
> context like that.

Yes, SLD or this new thing is unconditionally fatal when from kernel
space. As long as we can get to the OOPS with our stacks completely
wrecked, we should be good I think.

We'll just need to make this one of the very first things is checks for,
to minimize the amount of code ran before OOPSing, so at to minimize the
risk for recursive exceptions.

All signs of excellent design, I'm sure.

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