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