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: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:	Mon, 09 Jul 2012 09:33:30 +0800
From:	Li Zhong <zhong@...ux.vnet.ibm.com>
To:	Cong Wang <xiyou.wangcong@...il.com>
Cc:	LKML <linux-kernel@...r.kernel.org>, arjan@...ux.intel.com,
	"Paul E. McKenney" <paulmck@...ux.vnet.ibm.com>
Subject: Re: [PATCH] Fix a dead loop in async_synchronize_full()

On Fri, 2012-07-06 at 17:12 +0800, Cong Wang wrote:
> On Mon, Jul 2, 2012 at 2:04 PM, Li Zhong <zhong@...ux.vnet.ibm.com> wrote:
> >  void async_synchronize_full(void)
> >  {
> > -       do {
> > -               async_synchronize_cookie(next_cookie);
> > -       } while (!list_empty(&async_running) || !list_empty(&async_pending));
> > +       async_synchronize_cookie_domain(next_cookie, NULL);
> >  }
> 
> A nitpick:
> 
>  async_synchronize_cookie_domain(next_cookie, NULL);
> 
> equals to
> 
>  async_synchronize_full_domain(NULL)
> 

Why do we need one more level in the function calling stack? 

--
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