Re: [Qemu-devel] [PATCH v4 1/4] seqlock: introduce read-write seqlock

2013-09-24 Thread Paolo Bonzini
Il 24/09/2013 07:33, liu ping fan ha scritto: > On Mon, Sep 23, 2013 at 2:21 PM, Jan Kiszka wrote: >> On 2013-09-22 10:11, Liu Ping Fan wrote: >>> This lets the read-side access run outside the BQL. >> >> In fact, not only BQL. Didn't the original commit provide a changlog >> about the content of

Re: [Qemu-devel] [PATCH v4 1/4] seqlock: introduce read-write seqlock

2013-09-23 Thread liu ping fan
On Mon, Sep 23, 2013 at 2:21 PM, Jan Kiszka wrote: > On 2013-09-22 10:11, Liu Ping Fan wrote: >> This lets the read-side access run outside the BQL. > > In fact, not only BQL. Didn't the original commit provide a changlog > about the content of this patch? Otherwise, briefly describe use cases > a

Re: [Qemu-devel] [PATCH v4 1/4] seqlock: introduce read-write seqlock

2013-09-22 Thread Jan Kiszka
On 2013-09-22 10:11, Liu Ping Fan wrote: > This lets the read-side access run outside the BQL. In fact, not only BQL. Didn't the original commit provide a changlog about the content of this patch? Otherwise, briefly describe use cases and maybe the typical invocation pattern. > > Signed-off-by:

[Qemu-devel] [PATCH v4 1/4] seqlock: introduce read-write seqlock

2013-09-22 Thread Liu Ping Fan
This lets the read-side access run outside the BQL. Signed-off-by: Paolo Bonzini --- include/qemu/seqlock.h | 72 ++ 1 file changed, 72 insertions(+) create mode 100644 include/qemu/seqlock.h diff --git a/include/qemu/seqlock.h b/include/qemu/seq

[Qemu-devel] [PATCH v4 1/4] seqlock: introduce read-write seqlock

2013-09-22 Thread Liu Ping Fan
This lets the read-side access run outside the BQL. Signed-off-by: Paolo Bonzini --- include/qemu/seqlock.h | 72 ++ 1 file changed, 72 insertions(+) create mode 100644 include/qemu/seqlock.h diff --git a/include/qemu/seqlock.h b/include/qemu/seq