Moussa
On Sat, Sep 25, 2010 at 10:44 AM, Mulyadi Santosa <mulyadi.santosa@xxxxxxxxx> wrote:
Hi...
I am just thinking, perhaps you should hook into find_or_create_page()
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.
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