Re: Understanding Page Faults - find_get_page question

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

 



Hi...



On Sat, Sep 25, 2010 at 06:51, moussa ba <musaba@xxxxxxxxx> wrote:
> The problem I am running into is that I see many instances where calls to
> find_get_page return NULL meaning the page could not be found in the page
> cache, however, they do not register as major page faults in the kernel (I
> instrumented filemap_fault in filemap.c) .  I do however see other major
> page fault events.

I am just thinking, perhaps you should hook into find_or_create_page()
too? check the related function comment..... I think it make sense to
hook there too...considering you're tracking major page fault.

-- 
regards,

Mulyadi Santosa
Freelance Linux trainer and consultant

blog: the-hydra.blogspot.com
training: mulyaditraining.blogspot.com

--
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