Re: [PATCH 1/6] mm: pagemap: Avoid unnecessary overhead when tracepoints are deactivated
From: Johannes Weiner
Date: Thu Jul 10 2014 - 08:01:30 EST
On Wed, Jul 09, 2014 at 09:13:03AM +0100, Mel Gorman wrote:
> The LRU insertion and activate tracepoints take PFN as a parameter forcing
> the overhead to the caller. Move the overhead to the tracepoint fast-assign
> method to ensure the cost is only incurred when the tracepoint is active.
>
> Signed-off-by: Mel Gorman <mgorman@xxxxxxx>
Acked-by: Johannes Weiner <hannes@xxxxxxxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/