diff options
author | Jan Kara | 2014-02-24 16:39:55 +0100 |
---|---|---|
committer | Jens Axboe | 2014-02-24 14:46:47 -0800 |
commit | 5fd77595ec62141fa71e575bdbf410e0192f87d0 (patch) | |
tree | 9c34d82ab352a92cc260861084b577b3a73f7cba /kernel/up.c | |
parent | 6d113398dcf4dfcd9787a4ead738b186f7b7ff0f (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 <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 'kernel/up.c')
0 files changed, 0 insertions, 0 deletions