Re: What's become with PPC patches?

Sergei Shtylyov <[email protected]>
Newsgroups gmane.linux.kernel.tracing
Organization MontaVista Software Inc.
Message-ID <[email protected]>
Hello.

Sergei Shtylyov wrote:

>>You are right, I see no other place to put the trap entry/exit elsewhere than in
>>arch/*/mm/fault.c. I will leave the new "page_fault" event, which is linked to
>>the handle_mm_fault function : it makes sense to instrument page faults caused
>>by get_user_pages too.

>     That fix caused warning to be emitted:

    There are more issues -- you stuck the markers before/in the switch stmt 
under survive:
but if we goto out_of_memory from VM_FAULT_OOM case, we may jump back to 
survive, thus the trap entry/exit would be reported twice (however, it seems 
to be the case for the init process being the current one)... I'll try to tidy 
up the code a bit...

WBR, Sergei
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.