Re: pagetables used in interrupt context

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thank you for clearing my doubt.

On Mon, Feb 20, 2012 at 8:39 PM, Dave Hylands <dhylands@xxxxxxxxx> wrote:
> Hi Subin,
>
> On Mon, Feb 20, 2012 at 6:47 PM, subin gangadharan
> <subingangadharan@xxxxxxxxx> wrote:
>> Hi All,
>>
>> Please correct me if I am wrong. In linux each process will have its
>> own page tables, so when a interrupt happens processor will switch to
>> interrupt context
>> and execute the proper handler. So my doubt, if this is the case,
>> interrupt hanlder will be using the pagetables of the interrupted
>> process or is there a separate page table for this.
>
> Yep - that's right. Conceptually you can imagine that the kernel page
> tables are replicated in each process, so when the interrupt occurs,
> the kernel mappings will always be in effect regardless of which task
> is running. How this is actually achieved may vary from architecture
> to architecture.
>
> --
> Dave Hylands
> Shuswap, BC, Canada
> http://www.davehylands.com



-- 
With Regards
Subin Gangadharan

I am not afraid and I am also not afraid of being afraid.

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux