blk-mq: use __smp_call_function_single directly
authorChristoph Hellwig <hch@lst.de>
Fri, 24 Jan 2014 21:16:55 +0000 (13:16 -0800)
committerJens Axboe <axboe@fb.com>
Mon, 30 Mar 2015 18:54:41 +0000 (12:54 -0600)
commita74a9f8d4c927ff5d59902a727e2f4273deac14c
tree44ee90f083cae26fdfc3e5ad01f0c8615d519908
parentbf97bf369218e50fde38af0dd600731d37134dcf
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