Re: [PATCH 1/2] null_blk: prevent timer handler running on a different CPU where started

2015-06-02 Thread Jens Axboe
On 06/01/2015 05:35 PM, Akinobu Mita wrote: When irqmode=2 (IRQ completion handler is timer), timer handler should be called on the same CPU where the timer has been started. Since completion_queues are per-cpu and the completion handler only touches completion_queue for local CPU, we need to pr

[PATCH 1/2] null_blk: prevent timer handler running on a different CPU where started

2015-06-01 Thread Akinobu Mita
When irqmode=2 (IRQ completion handler is timer), timer handler should be called on the same CPU where the timer has been started. Since completion_queues are per-cpu and the completion handler only touches completion_queue for local CPU, we need to prevent the handler from running on a different