From: Dave <dave.jiang@gmail.com>
To: Andi Kleen <ak@suse.de>
Cc: linux-kernel@vger.kernel.org
Subject: Re: x86_64 segfault error codes
Date: Wed, 14 Dec 2005 13:09:38 -0700 [thread overview]
Message-ID: <8746466a0512141209g569d2870u4aba3fe7a68fe51c@mail.gmail.com> (raw)
In-Reply-To: <20051214195848.GQ23384@wotan.suse.de>
On 12/14/05, Andi Kleen <ak@suse.de> wrote:
> On Wed, Dec 14, 2005 at 12:24:42PM -0700, Dave wrote:
> > Ah ok, thx! Looks like the comment in mm/fault.c is wrong then.... It
> > says bit 3 is instruction fetch and no mention of bit 4.
>
> 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
Ah sorry. Was looking at 2.6.14.
--
-= Dave =-
next prev parent reply other threads:[~2005-12-14 20:09 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-12-14 18:17 Dave
2005-12-14 18:31 ` Andi Kleen
2005-12-14 19:24 ` Dave
2005-12-14 19:58 ` Andi Kleen
2005-12-14 20:09 ` Dave [this message]
2005-12-15 9:55 ` Hugh Dickins
2005-12-15 9:59 ` Andi Kleen
2005-12-15 14:49 ` Andi Kleen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=8746466a0512141209g569d2870u4aba3fe7a68fe51c@mail.gmail.com \
--to=dave.jiang@gmail.com \
--cc=ak@suse.de \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®