Re: [PATCH] Fix a dead loop in async_synchronize_full()

2012-07-08 Thread Li Zhong
On Fri, 2012-07-06 at 17:12 +0800, Cong Wang wrote: > On Mon, Jul 2, 2012 at 2:04 PM, Li Zhong wrote: > > void async_synchronize_full(void) > > { > > - do { > > - async_synchronize_cookie(next_cookie); > > - } while (!list_empty(&async_running) || > > !list_empty(&asyn

Re: [PATCH] Fix a dead loop in async_synchronize_full()

2012-07-08 Thread Li Zhong
On Thu, 2012-07-05 at 20:51 -0700, Christian Kujau wrote: > On Mon, 2 Jul 2012 at 14:04, Li Zhong wrote: > > This patch tries to fix a dead loop in async_synchronize_full(), which > > could be seen when preemption is disabled on a single cpu machine. > > This helps in my case[0], will this patch