From: Arnd Bergmann <arnd.bergmann@de•ibm.com>
To: linuxppc-dev@ozlabs•org
Subject: Re: Unable to handle kernel paging request in show_instructions
Date: Tue, 20 Jun 2006 02:44:49 +0200 [thread overview]
Message-ID: <200606200244.49532.arnd.bergmann@de.ibm.com> (raw)
In-Reply-To: <4497445F.50700@us.ibm.com>
On Tuesday 20 June 2006 02:42, David Wilder wrote:
> But in this case the validation passes even though the address is
> invalid. Any ideas how to fix this? Is there a easy way to validate
> if a page is valid before accessing it?
The check that kallsyms_lookup does should find this, but it may
be overkill to call that function just to verify an address.
You might also have success calling vmalloc_to_page for a 0xd000...
address to check if that is really mapped.
Arnd <><
next prev parent reply other threads:[~2006-06-20 0:44 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-06-20 0:42 Unable to handle kernel paging request in show_instructions David Wilder
2006-06-20 0:44 ` Arnd Bergmann [this message]
2006-06-20 13:47 ` Anton Blanchard
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=200606200244.49532.arnd.bergmann@de.ibm.com \
--to=arnd.bergmann@de$(echo .)ibm.com \
--cc=linuxppc-dev@ozlabs$(echo .)org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
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