aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorSebastian Andrzej Siewior <[email protected]>2018-08-17 15:49:51 -0700
committerLinus Torvalds <[email protected]>2018-08-17 16:20:32 -0700
commit6e018968f8d384d84484eba8e4c90489a25d7095 (patch)
tree41dcb86fb5b712b48b6e2a7e7dedcdb2d3e157e0 /tools/perf/util/trace-event-scripting.c
parent6cfe57a96ba33139c57056185d5eee9018e3dedc (diff)
mm/list_lru.c: pass struct list_lru_node* as an argument to __list_lru_walk_one()
__list_lru_walk_one() is invoked with struct list_lru *lru, int nid as the first two argument. Those two are only used to retrieve struct list_lru_node. Since this is already done by the caller of the function for the locking, we can pass struct list_lru_node* directly and avoid the dance around it. Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Sebastian Andrzej Siewior <[email protected]> Reviewed-by: Vladimir Davydov <[email protected]> Cc: Thomas Gleixner <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions