Re: x86_64 segfault error codes
From: Andi Kleen
Date: Thu Dec 15 2005 - 04:59:25 EST
On Thu, Dec 15, 2005 at 09:55:40AM +0000, Hugh Dickins wrote:
> On Wed, 14 Dec 2005, Andi Kleen wrote:
> >
> > Don't know what kernel you're looking at, but 2.6.15rc5 has
> >
> > * bit 0 == 0 means no page found, 1 means protection fault
> > * bit 1 == 0 means read, 1 means write
> > * bit 2 == 0 means kernel, 1 means user-mode
> > * bit 3 == 1 means use of reserved bit detected
> > * bit 4 == 1 means fault was an instruction fetch
>
> I can't see it there in 2.6.15-rc5 or 2.6.15-rc5-git; but it is there
> in 2.6.15-rc5-mm3: which seems to contains a lot of x86_64 patches,
> perhaps some of which you're expecting already to be in 2.6.15?
Yah it's only in the 2.6.16 queue. Sorry for the confusion.
Anyways nobody should rely on these comments. If you want the details
look at the architecture manuals.
-Andi
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/