> + if (unlikely(direct_issue && rq->mq_ctx->cpu != raw_smp_processor_id())) > + smp_mb(); > + else > + barrier(); Independ of the fact that I still think this is horrible and hacky, I also still don't see what the barrier() is trying to help with.
> + if (unlikely(direct_issue && rq->mq_ctx->cpu != raw_smp_processor_id())) > + smp_mb(); > + else > + barrier(); Independ of the fact that I still think this is horrible and hacky, I also still don't see what the barrier() is trying to help with.