aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorJan Kara <[email protected]>2014-02-24 16:39:55 +0100
committerJens Axboe <[email protected]>2014-02-24 14:46:47 -0800
commit5fd77595ec62141fa71e575bdbf410e0192f87d0 (patch)
tree9c34d82ab352a92cc260861084b577b3a73f7cba /tools/perf/util/trace-event-scripting.c
parent6d113398dcf4dfcd9787a4ead738b186f7b7ff0f (diff)
smp: Iterate functions through llist_for_each_entry_safe()
The IPI function llist iteration is open coded. Lets simplify this with using an llist iterator. Also we want to keep the iteration safe against possible csd.llist->next value reuse from the IPI handler. At least the block subsystem used to do such things so lets stay careful and use llist_for_each_entry_safe(). Signed-off-by: Jan Kara <[email protected]> Cc: Andrew Morton <[email protected]> Cc: Christoph Hellwig <[email protected]> Cc: Ingo Molnar <[email protected]> Cc: Jens Axboe <[email protected]> Signed-off-by: Frederic Weisbecker <[email protected]> Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions