Messages in this thread | | | Date | Thu, 10 Jul 2014 08:01:20 -0400 | From | Johannes Weiner <> | Subject | Re: [PATCH 1/6] mm: pagemap: Avoid unnecessary overhead when tracepoints are deactivated |
| |
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@suse.de>
Acked-by: Johannes Weiner <hannes@cmpxchg.org>
| |