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.
Here is my question, does find_get_page returning NULL mean that the page is NOT in the page cache which would mean major page fault or, are there situations where NOT in the page cache not really mean NOT in the page cache, or is it something as simple as readahead accounting for the non major page fault events?
Moussa