Re: [PATCH] mm: get rid of unnecessary overhead of trace_mm_page_alloc_extfrag()

2013-10-30 Thread Mel Gorman
On Fri, Oct 25, 2013 at 12:42:47PM -0400, kosaki.motoh...@gmail.com wrote: > From: KOSAKI Motohiro > > In general, every tracepoint should be zero overhead if it is disabled. > However, trace_mm_page_alloc_extfrag() is one of exception. It evaluate > "new_type == start_migratetype" even if tracep

[PATCH] mm: get rid of unnecessary overhead of trace_mm_page_alloc_extfrag()

2013-10-25 Thread kosaki . motohiro
From: KOSAKI Motohiro In general, every tracepoint should be zero overhead if it is disabled. However, trace_mm_page_alloc_extfrag() is one of exception. It evaluate "new_type == start_migratetype" even if tracepoint is disabled. However, the code can be moved into tracepoint's TP_fast_assign()