Re: Question on functions related to swapping in pages.

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

 



2008/7/22 Rik van Riel <riel@xxxxxxxxxxx>:
> On Tue, 22 Jul 2008 13:51:43 -0400
> Arn <cse.syslab@xxxxxxxxx> wrote:
>
>> So I assume that when a major fault happens, somehow get_user_pages()
>> gets called, is that correct ?
>
> No.  When a page fault happens, handle_mm_fault() is called.
>
> The get_user_pages() path is when kernel code tries to access
> the pages of a process that is not the current process.
>

why kernel tries to access the page of a process that is not the
current process?


-- 
noone is alone.

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ


[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