|
From: | Remy NOEL |
Subject: | Re: [Qemu-devel] [QEMU-devel][PATCH v4 0/2] Fix concurrent aio_poll/set_fd_handler. |
Date: | Mon, 24 Dec 2018 13:38:47 +0100 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.3.2 |
On 12/21/18 12:34 PM, Paolo Bonzini wrote:
FWIW, I had missed the early version that used RCU, but lockcnt is already very RCU-like, so not using RCU is the right thing to do. The difference between lockcnt and RCU is that cleanup is done by the reader instead of a separate thread. Because we know that reader/writer concurrency is very rare for AioContext handlers, the tradeoffs favor lockcnt over RCU.
Indeed, i forgot to CC you in the first batch (get_maintainer.pl was not finding you).
Thanks for the RCU hints, i though the performance hit was due to the RCU being global to qemu.
Remy
[Prev in Thread] | Current Thread | [Next in Thread] |