I/O or Threading Suffer

Mark Murray mark at grondar.org
Tue Jul 20 09:03:48 PDT 2004


Robert Watson writes:
>                                                Mark -- how much
> computation is being done here -- would it be worth dropping the Giant
> lock during that computation so that the thread can yield without
> generating a priority inversion?

I'm sure it could. There are some Giant issues related to the UIO stuff
that bit me in the bum when I removed the NEEDS_GIANT flag from the
device, but I'm reasonably sure that with careful work this can be
untangled.

M
--
Mark Murray
iumop ap!sdn w,I idlaH


More information about the freebsd-current mailing list