From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:58864) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Sz4rr-0008De-VE for qemu-devel@nongnu.org; Wed, 08 Aug 2012 07:56:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Sz4rq-0000JT-St for qemu-devel@nongnu.org; Wed, 08 Aug 2012 07:56:03 -0400 Received: from mail-pb0-f45.google.com ([209.85.160.45]:43223) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Sz4rq-0000In-LN for qemu-devel@nongnu.org; Wed, 08 Aug 2012 07:56:02 -0400 Received: by pbbrp12 with SMTP id rp12so891558pbb.4 for ; Wed, 08 Aug 2012 04:56:01 -0700 (PDT) Sender: Paolo Bonzini From: Paolo Bonzini Date: Wed, 8 Aug 2012 13:55:42 +0200 Message-Id: <1344426944-7638-1-git-send-email-pbonzini@redhat.com> Subject: [Qemu-devel] [PATCH 0/2] 9p-synth: remove poor-man RCU List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: harsh@linux.vnet.ibm.com, aneesh.kumar@linux.vnet.ibm.com There are several mistakes in the pseudo-RCU usage of 9pfs. This patch series converts everything to a regular mutex. Patch 1 applies enough fixes so that a trivial mutex-based synchronization is correct. Patch 2 uses the mutex for both read and write sides. Paolo Bonzini (2): 9p-synth: fix read-side critical sections 9p-synth: use mutex on read-side hw/9pfs/virtio-9p-synth.c | 41 +++++++++++++++++++++++------------------ qemu-thread.h | 3 --- 2 file modificati, 23 inserzioni(+), 21 rimozioni(-) -- 1.7.11.2