Re: [PATCH] x86/mm/fault: Streamline the fault error_code decoder some more

From: Ingo Molnar
Date: Thu Dec 06 2018 - 12:36:30 EST



* Andy Lutomirski <luto@xxxxxxxxxxxxxx> wrote:

> Thatâs why I suggested âread,â in lowercase, for reads. Other than
> that, most of the unset bits are uninteresting. An OOPS is so likely to
> be a kernel fault that itâs barely worth mentioning, and I even added a
> whole separate diagnostic for user oopses. Similarly, I donât think we
> need to remind the reader that an oops wasnât an SGX error or that it
> wasnât a PK error. So I think my idea highlights the interesting bits
> and avoids distraction from the uninteresting bits.

Ok - all good points.

Thanks,

Ingo