From: "Wang, Baojun" <wangbj@lzu.edu.cn>
To: linuxppc-embedded@ozlabs.org, "Barisa Kisku" <barisa.kisku@gmail.com>
Subject: Re: Whether kernel page table is loaded in exception handler?
Date: Mon, 29 Oct 2007 00:04:28 +0800 [thread overview]
Message-ID: <393649804.05275@eyou.net> (raw)
Message-ID: <200710290004.30586.wangbj@lzu.edu.cn> (raw)
In-Reply-To: <393584094.25173@lzu.edu.cn>
[-- Attachment #1: Type: text/plain, Size: 1499 bytes --]
On Sunday 28 October 2007 22:58:29, Barisa Kisku wrote:
> Hi,
> Whether kernel page table is loaded during the execution of exception
> handling.I tried to understand that bit code, but could n't find out
> during the execution of system call exception handling or external
> interrupt exception handling.
>
>
> thanks in advance.
>
> Barisa Kisku
the external interrupt / syscall exception is not responsible for loading page
tables. Depending on the type of exception, probably no more exception is
allowed if the exception have disabled the MSR EE bit. Otherwise it's
depending on the powerpc model, normally the kernel will search tlb first, if
there is a (Data/Insn) miss, the kernel will search the page table
entry(PTEs), if the PTE is founded, the kernel will reload tlb, otherwise it
will raise a page fault exception, this may ask the kernel to load the page
on demand, if the kernel could not load the requested the page, then we got a
double fault (page fault). I'm not sure this is 100% corrent, but help it
will help
Wang
--
Wang, Baojun Lanzhou University
Distributed & Embedded System Lab http://dslab.lzu.edu.cn
School of Information Science and Engeneering wangbj@lzu.edu.cn
Tianshui South Road 222. Lanzhou 730000 .P.R.China
Tel:+86-931-8912025 Fax:+86-931-8912022
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
next parent reply other threads:[~2007-10-28 16:04 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <393584094.25173@lzu.edu.cn>
2007-10-28 16:04 ` Wang, Baojun [this message]
2007-10-28 16:04 ` Whether kernel page table is loaded in exception handler? Wang, Baojun
2007-10-28 14:58 Barisa Kisku
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=393649804.05275@eyou.net \
--to=wangbj@lzu.edu.cn \
--cc=barisa.kisku@gmail.com \
--cc=linuxppc-embedded@ozlabs.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.