blk-mq: use __smp_call_function_single directly
authorChristoph Hellwig <hch@infradead.org>
Wed, 8 Jan 2014 17:33:37 +0000 (09:33 -0800)
committerJens Axboe <axboe@kernel.dk>
Wed, 8 Jan 2014 21:31:27 +0000 (14:31 -0700)
commit3d6efbf62c797a2924785f482e4ce8aa8820ec72
tree2c2000c1a79e4cd0333f2112d231998ee282e5b6
parentc7b22bb19a24fef1a851a41e5c0657c0c4a41550
blk-mq: use __smp_call_function_single directly

__smp_call_function_single already avoids multiple IPIs by internally
queing up the items, and now also is available for non-SMP builds as
a trivially correct stub, so there is no need to wrap it.  If the
additional lock roundtrip cause problems my patch to convert the
generic IPI code to llists is waiting to get merged will fix it.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-mq-cpu.c
block/blk-mq.c
block/blk-mq.h