All of lore.kernel.org
 help / color / mirror / Atom feed
From: Brad <brad@comstyle.com>
To: Laszlo Ersek <lersek@redhat.com>
Cc: Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>, qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH v3] semaphore: fix a hangup problem under load on NetBSD hosts.
Date: Wed, 31 Jul 2013 23:24:54 -0400	[thread overview]
Message-ID: <51F9D506.9040909@comstyle.com> (raw)
In-Reply-To: <51D3F1C2.5050609@redhat.com>

On 03/07/13 5:41 AM, Laszlo Ersek wrote:
> On 07/03/13 10:58, Izumi Tsutsui wrote:
>> Fix following bugs in "fallback implementation of counting semaphores
>> with mutex+condvar" added in c166cb72f1676855816340666c3b618beef4b976:
>>   - waiting threads are not restarted properly if more than one threads
>>     are waiting unblock signals in qemu_sem_timedwait()
>>   - possible missing pthread_cond_signal(3) calls when waiting threads
>>     are returned by ETIMEDOUT
>>   - fix an uninitialized variable
>> The problem is analyzed by and fix is provided by Noriyuki Soda.
>>
>> Also put additional cleanup suggested by Laszlo Ersek:
>>   - make QemuSemaphore.count unsigned (it won't be negative)
>>   - check a return value of in pthread_cond_wait() in qemu_sem_wait()
>>
>> Signed-off-by: Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>
>> Reviewed-by: Laszlo Ersek <lersek@redhat.com>
>> ---
>>
>>   v3:
>>   - fix a missed assignment and actually check a retval of pthread_cond_wait()
>
> Compared v3 against v2.
>
> Reviewed-by: Laszlo Ersek <lersek@redhat.com>
>
> Laszlo

This patch seems to have been dropped.


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

  reply	other threads:[~2013-08-01  3:25 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-03  8:58 [Qemu-devel] [PATCH v3] semaphore: fix a hangup problem under load on NetBSD hosts Izumi Tsutsui
2013-07-03  9:41 ` Laszlo Ersek
2013-08-01  3:24   ` Brad [this message]
2013-08-01 22:33     ` Paolo Bonzini
2013-08-05 16:22       ` [Qemu-devel] PING for-1.6 " Paolo Bonzini
2013-08-14 16:29 ` [Qemu-devel] " Anthony Liguori

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=51F9D506.9040909@comstyle.com \
    --to=brad@comstyle.com \
    --cc=lersek@redhat.com \
    --cc=qemu-devel@nongnu.org \
    --cc=tsutsui@ceres.dti.ne.jp \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.