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

From: Davide Libenzi
Date: Thu May 10 2007 - 02:48:17 EST


On Wed, 9 May 2007, Andrew Morton wrote:

> On Wed, 9 May 2007 19:37:05 -0700 bugme-daemon@xxxxxxxxxxxxxxxxxxx wrote:
>
> > http://bugzilla.kernel.org/show_bug.cgi?id=8462

Is it possible to have more information? Like CPU, kernel 32/64, userspace
32/64 ...?
I've spotted something here:

+ smp_mb();
+ INIT_LIST_HEAD(&epi->rdllink);

The epoll callback uses list_empty() as test if to queue the item as ready,
and list_empty() checks ->next. INIT_LIST_HEAD() sets ->next before, then
->prev. Whoops :)
This should be:

epi->rdllink.prev = &epi->rdllink;
smp_mb();
epi->rdllink.next = &epi->rdllink;

Does the problem happens with some other publicly available software that
runs under wine, so that I can test it?


- Davide


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