* Re: Whether kernel page table is loaded in exception handler? @ 2007-10-28 16:04 ` Wang, Baojun 0 siblings, 0 replies; 2+ messages in thread From: Wang, Baojun @ 2007-10-28 16:04 UTC (permalink / raw) To: linuxppc-embedded, Barisa Kisku [-- 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 --] ^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Whether kernel page table is loaded in exception handler? @ 2007-10-28 16:04 ` Wang, Baojun 0 siblings, 0 replies; 2+ messages in thread From: Wang, Baojun @ 2007-10-28 16:04 UTC (permalink / raw) To: linuxppc-embedded, Barisa Kisku [-- 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 --] ^ permalink raw reply [flat|nested] 2+ messages in thread
* Whether kernel page table is loaded in exception handler? @ 2007-10-28 14:58 Barisa Kisku 0 siblings, 0 replies; 2+ messages in thread From: Barisa Kisku @ 2007-10-28 14:58 UTC (permalink / raw) To: Linuxppc-embedded [-- Attachment #1: Type: text/plain, Size: 277 bytes --] 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 [-- Attachment #2: Type: text/html, Size: 328 bytes --] ^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-10-28 16:04 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <393584094.25173@lzu.edu.cn>
2007-10-28 16:04 ` Whether kernel page table is loaded in exception handler? Wang, Baojun
2007-10-28 16:04 ` Wang, Baojun
2007-10-28 14:58 Barisa Kisku
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.