[dpdk-dev] Thread preemption and rte_ring

Dmitry Vyal dmitryvyal at gmail.com
Tue Nov 5 11:46:19 CET 2013


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 have multiple non-preemptive writers running on dedicated cores 
and a single reader running as a regular Linux thread?

Thanks,
Dmitry


More information about the dev mailing list