diff options
author | 2014-02-24 16:39:55 +0100 | |
---|---|---|
committer | 2014-02-24 14:46:47 -0800 | |
commit | 5fd77595ec62141fa71e575bdbf410e0192f87d0 (patch) | |
tree | 9c34d82ab352a92cc260861084b577b3a73f7cba /tools/perf/scripts/python/export-to-postgresql.py | |
parent | block: Stop abusing rq->csd.list in blk-softirq (diff) | |
download | wireguard-linux-5fd77595ec62141fa71e575bdbf410e0192f87d0.tar.xz wireguard-linux-5fd77595ec62141fa71e575bdbf410e0192f87d0.zip |
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 <jack@suse.cz>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Christoph Hellwig <hch@infradead.org>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Jens Axboe <axboe@fb.com>
Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions