lkml.org 
[lkml]   [2015]   [Jan]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] kernel: async: Fixed the wrong waitting condition of wait_event
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 Tajun.



\
 
 \ /
  Last update: 2015-01-08 01:41    [W:0.058 / U:0.340 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site