[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v5 1/4] seqlock: introduce read-write seqlock
From: |
Paolo Bonzini |
Subject: |
Re: [Qemu-devel] [PATCH v5 1/4] seqlock: introduce read-write seqlock |
Date: |
Wed, 25 Sep 2013 09:30:11 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130805 Thunderbird/17.0.8 |
Il 25/09/2013 08:20, Liu Ping Fan ha scritto:
> From: Paolo Bonzini <address@hidden>
>
> 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 <address@hidden>
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