mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Andrew Morton <akpm@linux-foundation.org>
To: Chunyan Zhang <chunyan.zhang@spreadtrum.com>
Cc: <ionut.m.alexa@gmail.com>, <mark.yang@spreadtrum.com>,
	<wei.qiao@spreadtrum.com>, <geng.ren@spreadtrum.com>,
	<orson.zhai@spreadtrum.com>, <zhizhou.zhang@spreadtrum.com>,
	<ke.wang@spreadtrum.com>, <zhang.lyra@gmail.com>,
	<linux-kernel@vger.kernel.org>,
	Arjan van de Ven <arjan@infradead.org>, Tejun Heo <tj@kernel.org>
Subject: Re: [PATCH] kernel: async: Fixed the wrong waitting condition of wait_event
Date: Wed, 7 Jan 2015 16:39:15 -0800	[thread overview]
Message-ID: <20150107163915.50a71131faf74e0f75562137@linux-foundation.org> (raw)
In-Reply-To: <1420428935-30385-1-git-send-email-chunyan.zhang@spreadtrum.com>

(resend with cc's, sorry)

On Mon, 5 Jan 2015 11:35:35 +0800 Chunyan Zhang <chunyan.zhang@spreadtrum.com> wrote:

> This patch changes the waitting condition of wait_event in the
> function 'async_synchronize_cookie_domain'.
> 
> This function waits until all asynchronous function calls for the certain
> domain have been done.
> 
> But, the function 'lowest_in_progress' returns the lowest *pending*
> entry's cookie.
> 
> So we should make sure that the return value of lowest_in_progress(domain)
> must be larger than @cookie.

I'm having runtime problems with this.  Twice the kernel silently hangs
late in initcalls and the third time I got a great stream of oopses.

I'll drop it.  Hopefully you'll be able to work through the bug with
Arjan and Tejun.


  parent reply	other threads:[~2015-01-08  0:39 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <async>
2015-01-05  3:35 ` Chunyan Zhang
2015-01-08  0:37   ` Andrew Morton
2015-01-08  0:39   ` Andrew Morton [this message]
2015-01-08  6:20     ` Chunyan Zhang (张春艳)

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=20150107163915.50a71131faf74e0f75562137@linux-foundation.org \
    --to=akpm@linux-foundation.org \
    --cc=arjan@infradead.org \
    --cc=chunyan.zhang@spreadtrum.com \
    --cc=geng.ren@spreadtrum.com \
    --cc=ionut.m.alexa@gmail.com \
    --cc=ke.wang@spreadtrum.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mark.yang@spreadtrum.com \
    --cc=orson.zhai@spreadtrum.com \
    --cc=tj@kernel.org \
    --cc=wei.qiao@spreadtrum.com \
    --cc=zhang.lyra@gmail.com \
    --cc=zhizhou.zhang@spreadtrum.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®