Re: [PATCH 2/3] irq-poll: micro optimize some branch predictions

2016-11-13 Thread Sagi Grimberg
Are they really that unlikely? I don't like these annotations unless it's clearly an error path or they have a high, demonstrable benefit. IRQ_POLL_F_DISABLE is set when disabling the iop (in the end of the world). IRQ_POLL_F_SCHED is set on irq_poll_sched() itself so this cond would match

Re: [PATCH 2/3] irq-poll: micro optimize some branch predictions

2016-11-13 Thread Christoph Hellwig
Are they really that unlikely? I don't like these annotations unless it's clearly an error path or they have a high, demonstrable benefit. -- To unsubscribe from this list: send the line "unsubscribe linux-block" in the body of a message to majord...@vger.kernel.org More majordomo info at