From: "Kalderon, Michal" <Michal.Kalderon@xxxxxxxxxx> Date: Thu, 5 Oct 2017 20:27:22 +0000 > The spinlock is required for the case that rx buffers are posted > from a different thread, where it could be run simultaneously to the > rxq_completion. This only brings us back to my original argument, if the lock is necessary in order to synchronize with those paths, how can you possible drop the lock safely here? Is it because you re-read the head and tail pointers of the queue each time around the loop? -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html