lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20150107163915.50a71131faf74e0f75562137@linux-foundation.org>
Date:	Wed, 7 Jan 2015 16:39:15 -0800
From:	Andrew Morton <akpm@...ux-foundation.org>
To:	Chunyan Zhang <chunyan.zhang@...eadtrum.com>
Cc:	<ionut.m.alexa@...il.com>, <mark.yang@...eadtrum.com>,
	<wei.qiao@...eadtrum.com>, <geng.ren@...eadtrum.com>,
	<orson.zhai@...eadtrum.com>, <zhizhou.zhang@...eadtrum.com>,
	<ke.wang@...eadtrum.com>, <zhang.lyra@...il.com>,
	<linux-kernel@...r.kernel.org>,
	Arjan van de Ven <arjan@...radead.org>,
	Tejun Heo <tj@...nel.org>
Subject: Re: [PATCH] kernel: async: Fixed the wrong waitting condition of
 wait_event

(resend with cc's, sorry)

On Mon, 5 Jan 2015 11:35:35 +0800 Chunyan Zhang <chunyan.zhang@...eadtrum.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.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ