lkml.org 
[lkml]   [2007]   [May]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [Bugme-new] [Bug 8462] New: applications under wine freezes
On Wed, 9 May 2007, Andrew Morton wrote:

> On Wed, 9 May 2007 19:37:05 -0700 bugme-daemon@bugzilla.kernel.org 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@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2007-05-10 08:51    [from the cache]
©2003-2011 Jasper Spaans