Go to file
Cunming Liang 4e01799aea ring: add optional yield to avoid spin forever
Add a sched_yield() syscall if the thread spins for too long,
waiting other thread to finish its operations on the ring.
That gives pre-empted thread a chance to proceed and finish
with ring enqueue/dequeue operation.
The purpose is to reduce contention on the ring.
By ring_perf_test, it doesn't shows additional perf penalty.

Signed-off-by: Cunming Liang <cunming.liang@intel.com>
Acked-by: Olivier Matz <olivier.matz@6wind.com>
Acked-by: Konstantin Ananyev <konstantin.ananyev@intel.com>
2015-02-24 20:23:07 +01:00
app app/test: add unit tests for --lcores option 2015-02-24 20:22:08 +01:00
config ring: add optional yield to avoid spin forever 2015-02-24 20:23:07 +01:00
doc doc: describe ACL memory size build parameter 2015-02-24 04:05:27 +01:00
examples examples/packet_ordering: move creation of reorder buffer 2015-02-24 03:04:10 +01:00
lib ring: add optional yield to avoid spin forever 2015-02-24 20:23:07 +01:00
mk mk: fix build with Debian/Ubuntu-specific gcc version 2015-02-24 12:11:16 +01:00
pkg version: 1.8.0 2014-12-20 00:38:39 +01:00
scripts scripts: find areas without maintainer 2015-02-09 15:15:04 +01:00
tools tools: enable binding device to uio_pci_generic 2015-02-20 23:34:44 +01:00
.gitignore init DPDK repository 2013-03-07 10:57:42 +01:00
GNUmakefile remove trailing whitespaces 2014-06-11 00:29:34 +02:00
LICENSE.GPL doc: GPL/LGPL licenses 2013-07-25 14:43:06 +02:00
LICENSE.LGPL doc: fix file format (dos to unix) 2013-09-06 11:43:07 +02:00
MAINTAINERS maintainers: claim VFIO and IVSHMEM 2015-02-24 12:23:18 +01:00
Makefile remove trailing whitespaces 2014-06-11 00:29:34 +02:00