Re: [Qemu-devel] [PATCH] aio_poll race condition.

2018-12-07 Thread Remy NOEL
Indeed, i did not add those for the cover letter (i used the wiki's commit hook though) Anyway, I sent a V2 after discovering the rcu usage hada significant performance impact. It was not sent to the New email fo Fam Zheng though. i'll forward it to its new address, thanks. Regards. Remy

Re: [Qemu-devel] [PATCH] aio_poll race condition.

2018-12-07 Thread Philippe Mathieu-Daudé
Hi Remy, On 11/16/18 8:02 PM, remy.n...@blade-group.com wrote: > From: Remy Noel > > It is possible for an io_poll callback to be concurrently executed along > with an aio_set_fd_handlers. This can cause all sorts of problems, like > a NULL callback or a bad opaque pointer. > We fixes that by usi

[Qemu-devel] [PATCH] aio_poll race condition.

2018-11-16 Thread remy . noel
From: Remy Noel It is possible for an io_poll callback to be concurrently executed along with an aio_set_fd_handlers. This can cause all sorts of problems, like a NULL callback or a bad opaque pointer. We fixes that by using an remove/insert RCU scheme. Please note that i did not test the win32