numam-dpdk/lib/librte_vhost
Tiwei Bie 897f13a1f7 vhost: make page logging atomic
Each dirty page logging operation should be atomic. But it's not
atomic in current implementation. So it's possible that some dirty
pages can't be logged successfully when different threads try to
log different pages into the same byte of the log buffer concurrently.
This patch fixes this issue.

Fixes: b171fad1ff ("vhost: log used vring changes")
Cc: stable@dpdk.org

Reported-by: Xiao Wang <xiao.w.wang@intel.com>
Signed-off-by: Tiwei Bie <tiwei.bie@intel.com>
Reviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com>
2017-08-03 22:09:48 +02:00
..
fd_man.c vhost: introduce API to start a specific driver 2017-04-01 10:42:44 +02:00
fd_man.h vhost: introduce API to start a specific driver 2017-04-01 10:42:44 +02:00
Makefile vhost: rename header file 2017-04-01 10:42:44 +02:00
rte_vhost_version.map vhost: support Rx queue count request 2017-06-16 14:04:25 +02:00
rte_vhost.h vhost: support Rx queue count request 2017-06-16 14:04:25 +02:00
socket.c vhost: fix initialization 2017-07-19 22:49:47 +03:00
vhost_user.c vhost: log error for badly negotiated features 2017-06-16 14:04:25 +02:00
vhost_user.h vhost: workaround MQ fails to startup 2017-04-28 06:28:37 +02:00
vhost.c vhost: print reason of NUMA node query failure 2017-07-07 02:17:56 +02:00
vhost.h vhost: make page logging atomic 2017-08-03 22:09:48 +02:00
virtio_net.c vhost: fix checking of device features 2017-07-02 01:38:39 +02:00