Hyperactive g_event thread
Poul-Henning Kamp
phk at phk.freebsd.dk
Tue Jul 27 14:38:55 UTC 2010
In message <4C4ED619.7050305 at FreeBSD.org>, Alexander Motin writes:
>Poul-Henning Kamp wrote:
>I have already removed alike timeouts on up/down threads and it indeed
>was safe there. But are you really sure about this specific case? Cause
>I'm not. Up/down threads using msleep and checking lack of work after
>dropping/grabbing lock. Event thread instead does several tasks, drops
>lock few times between them and uses tsleep(). I would say there should
>be a bunch of race conditions.
Quite likely, I didn't say it would be a trivial thing to remove
that workaround :-)
--
Poul-Henning Kamp | UNIX since Zilog Zeus 3.20
phk at FreeBSD.ORG | TCP/IP since RFC 956
FreeBSD committer | BSD since 4.3-tahoe
Never attribute to malice what can adequately be explained by incompetence.
More information about the freebsd-geom
mailing list