From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:52991) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VOjXw-0002QY-Ff for qemu-devel@nongnu.org; Wed, 25 Sep 2013 03:30:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VOjXo-0005vm-3g for qemu-devel@nongnu.org; Wed, 25 Sep 2013 03:30:04 -0400 Received: from mail-ea0-x22e.google.com ([2a00:1450:4013:c01::22e]:48905) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VOjXn-0005vc-OX for qemu-devel@nongnu.org; Wed, 25 Sep 2013 03:29:56 -0400 Received: by mail-ea0-f174.google.com with SMTP id z15so2957690ead.5 for ; Wed, 25 Sep 2013 00:29:54 -0700 (PDT) Sender: Paolo Bonzini Message-ID: <52429103.40002@redhat.com> Date: Wed, 25 Sep 2013 09:30:11 +0200 From: Paolo Bonzini MIME-Version: 1.0 References: <1380090060-6764-1-git-send-email-pingfank@linux.vnet.ibm.com> <1380090060-6764-2-git-send-email-pingfank@linux.vnet.ibm.com> In-Reply-To: <1380090060-6764-2-git-send-email-pingfank@linux.vnet.ibm.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH v5 1/4] seqlock: introduce read-write seqlock List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Liu Ping Fan Cc: Kevin Wolf , Jan Kiszka , Stefan Hajnoczi , qemu-devel@nongnu.org, Alex Bligh Il 25/09/2013 08:20, Liu Ping Fan ha scritto: > From: Paolo Bonzini > > Seqlock implementation for QEMU. Usage idiom > > reader: > do{ > start = seqlock_read_begin() > > }while(seqlock_read_try(start)) > > writer: > seqlock_write_lock() > ... > seqlock_write_unlock() > > initialization: > seqlock_init(QemuSeqLock *sl, QemuMutex *mutex) > where mutex could be NULL if the caller will provide extra lock > protection for seqlock_write_lock. > > Signed-off-by: Paolo Bonzini You need to include your own signoff in addition to mine, here and in patch 3. Just reply to the two patches with the Signed-off-by line, whoever applies can pick it up. Paolo