[dpdk-dev] Thread preemption and rte_ring

2013-11-05 Thread Olivier MATZ
Hello Dmitry, > Documentation for rte_ring says: the ring implementation is not > preemptable. A lcore must not be interrupted by another task that uses > the same ring. What does it precisely mean? Must all the producers and > consumers be non-preemptive? The "non-preemptive" constraint mean

[dpdk-dev] Thread preemption and rte_ring

2013-11-05 Thread Dmitry Vyal
Hello, Documentation for rte_ring says: the ring implementation is not preemptable. A lcore must not be interrupted by another task that uses the same ring. What does it precisely mean? Must all the producers and consumers be non-preemptive? Can we relax that restriction somehow? Say, can I ha