logo       

Re: DIE_GPF vs. DIE_PAGE_FAULT/DIE_TRAP: msg#00136

linux.ports.x86-64.general

Subject: Re: DIE_GPF vs. DIE_PAGE_FAULT/DIE_TRAP

On Wednesday 26 October 2005 16:44, Jan Beulich wrote:
> What is the reason for notify_die(DIE_GPF, ...) to be run late in the GP
> fault handler (on both i386 and x86-64), while for other exceptions it
> gets run first thing (as I would have expected for all exceptions)?

"die"s as the name says are normally only supposed to run when the
error is determined to be an illegal kernel fault. Page fault
got an exception to that to make kprobes work. For the others
it is mostly only because there is no good way to check
for illegal kernel faults first.

-Andi


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise