[dpdk-dev] [PATCH] vhost: make the page logging atomic

Thomas Monjalon thomas at monjalon.net
Thu Aug 3 22:10:50 CEST 2017


01/08/2017 14:05, Maxime Coquelin:
> On 08/01/2017 11:01 AM, Tiwei Bie wrote:
> > 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: b171fad1ffa5 ("vhost: log used vring changes")
> > Cc:stable at dpdk.org
> > 
> > Reported-by: Xiao Wang<xiao.w.wang at intel.com>
> > Signed-off-by: Tiwei Bie<tiwei.bie at intel.com>
> 
> Reviewed-by: Maxime Coquelin <maxime.coquelin at redhat.com>

Applied, thanks



More information about the dev mailing list