mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Chunyan Zhang (张春艳)" <Chunyan.Zhang@spreadtrum.com>
To: Andrew Morton <akpm@linux-foundation.org>
Cc: "ionut.m.alexa@gmail.com" <ionut.m.alexa@gmail.com>,
	"Mark Yang (杨永辉)" <Mark.Yang@spreadtrum.com>,
	"Wei Qiao (乔伟)" <Wei.Qiao@spreadtrum.com>,
	"Geng Ren (任赓)" <Geng.Ren@spreadtrum.com>,
	"Orson Zhai (翟京)" <Orson.Zhai@spreadtrum.com>,
	"Zhizhou Zhang (张治洲)" <Zhizhou.Zhang@spreadtrum.com>,
	"Ke Wang (王科)" <Ke.Wang@spreadtrum.com>,
	"zhang.lyra@gmail.com" <zhang.lyra@gmail.com>,
	"linux-kernel@vger.kernel.org" <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: Thu, 8 Jan 2015 06:20:35 +0000	[thread overview]
Message-ID: <4fdc864411a24125b49ca66989011928@SHMBX02.spreadtrum.com> (raw)
In-Reply-To: <20150107163915.50a71131faf74e0f75562137@linux-foundation.org>

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset="gb2312", Size: 1021 bytes --]

Hi, Andrew

Could you give us the test log including the runtime problems you've got?

Thank you so much.


Best regards
Chunyan

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.

ÿôèº{.nÇ+‰·Ÿ®‰­†+%ŠËÿ±éݶ\x17¥Šwÿº{.nÇ+‰·¥Š{±þG«éÿŠ{ayº\x1dʇڙë,j\a­¢f£¢·hšïêÿ‘êçz_è®\x03(­éšŽŠÝ¢j"ú\x1a¶^[m§ÿÿ¾\a«þG«éÿ¢¸?™¨è­Ú&£ø§~á¶iO•æ¬z·švØ^\x14\x04\x1a¶^[m§ÿÿÃ\fÿ¶ìÿ¢¸?–I¥

      reply	other threads:[~2015-01-08  6:24 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
2015-01-08  6:20     ` Chunyan Zhang (张春艳) [this message]

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=4fdc864411a24125b49ca66989011928@SHMBX02.spreadtrum.com \
    --to=chunyan.zhang@spreadtrum.com \
    --cc=Geng.Ren@spreadtrum.com \
    --cc=Ke.Wang@spreadtrum.com \
    --cc=Mark.Yang@spreadtrum.com \
    --cc=Orson.Zhai@spreadtrum.com \
    --cc=Wei.Qiao@spreadtrum.com \
    --cc=Zhizhou.Zhang@spreadtrum.com \
    --cc=akpm@linux-foundation.org \
    --cc=arjan@infradead.org \
    --cc=ionut.m.alexa@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=tj@kernel.org \
    --cc=zhang.lyra@gmail.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®