Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1457392 > unrolled thread

Re: [PATCH v2 1/3] sched: Avoid that __wait_on_bit_lock() hangs

Started byBart Van Assche <bvanassche@acm.org>
First post2016-08-07 00:30 +0200
Last post2016-08-09 19:30 +0200
Articles 2 — 2 participants

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [PATCH v2 1/3] sched: Avoid that __wait_on_bit_lock() hangs Bart Van Assche <bvanassche@acm.org> - 2016-08-07 00:30 +0200
    Re: [PATCH v2 1/3] sched: Avoid that __wait_on_bit_lock() hangs Oleg Nesterov <oleg@redhat.com> - 2016-08-09 19:30 +0200

#1457392 — Re: [PATCH v2 1/3] sched: Avoid that __wait_on_bit_lock() hangs

FromBart Van Assche <bvanassche@acm.org>
Date2016-08-07 00:30 +0200
SubjectRe: [PATCH v2 1/3] sched: Avoid that __wait_on_bit_lock() hangs
Message-ID<s3igp-3m5-7@gated-at.bofh.it>
On 08/05/16 16:09, Bart Van Assche wrote:
> If delivery of a signal and __wake_up_common() happen concurrently
> it is possible that the signal is delivered after __wake_up_common()
> woke up the affected task and before bit_wait_io() checks whether a
> signal is pending. Avoid that the next waiter is not woken up if this
> happens.

(replying to my own e-mail)

Although this patch works reliably in my tests, the above description 
does not explain the hang. I will resend this patch with a better 
description.

Bart.

[toc] | [next] | [standalone]


#1459020

FromOleg Nesterov <oleg@redhat.com>
Date2016-08-09 19:30 +0200
Message-ID<s4j0K-2ah-27@gated-at.bofh.it>
In reply to#1457392
On 08/06, Bart Van Assche wrote:
>
> Although this patch works reliably in my tests, the above description
> does not explain the hang. I will resend this patch with a better
> description.

Yes please, I'll ignore this series till then ;)

See also another patch I sent a minute ago.

Oleg.

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web