Thank you.  find_or_create_page invokes find_lock_page which in turn invokes
find_get_page.  I had it covered :-).  Thank you.

Moussa

On Sat, Sep 25, 2010 at 10:44 AM, Mulyadi Santosa <[email protected]
> wrote:

> Hi...
>
>
>
> On Sat, Sep 25, 2010 at 06:51, moussa ba <[email protected]> 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
>

Reply via email to