Re: [Bugme-new] [Bug 8462] New: applications under wine freezes

From: Davide Libenzi
Date: Thu May 10 2007 - 14:54:17 EST


On Thu, 10 May 2007, Charles Gagalac wrote:

> i just installed the windows version of firefox
> 2.0.0.3 under wine and firefox also froze after a few
> minutes of use.
>
> also, wine version is wine-0.9.36.

Thank you Charles. Would you mind giving the patch below a try?



- Davide


Index: linux-2.6.21/fs/eventpoll.c
===================================================================
--- linux-2.6.21.orig/fs/eventpoll.c 2007-05-10 11:47:10.000000000 -0700
+++ linux-2.6.21/fs/eventpoll.c 2007-05-10 11:49:47.000000000 -0700
@@ -1410,13 +1410,14 @@
* the ep_poll_callback() can requeue the item again,
* but we don't care since we are already past it.
*/
+ epi->rdllink.prev = &epi->rdllink;
smp_mb();
- INIT_LIST_HEAD(&epi->rdllink);
+ epi->rdllink.next = &epi->rdllink;
}
}
error = 0;

- errxit:
+errxit:

/*
* If the re-injection list or the txlist are not empty, re-splice
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/