DragonFly submit List (threaded) for 2004-03
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
Re: kern_sysctl.c locking
On Fri, Mar 26, 2004 at 08:42:54AM -0800, Matthew Dillon wrote:
> It looks reasonable on its face. I briefly considered using tokens
> there but that would have required some shifting around of the
> potentially blocking malloc()'s (that is, the sysctl code was not designed
> very well in the first place but it probably isn't worth the effort to
> rewrite it).
So did I. The problem for me was the query path, which can block for
procedures. That could do nasty things I wanted to avoid. We can always
do a proper rewrite of the code to make better, but just like you said,
that might not be worth the effort.
Joerg
>
> -Matt
> Matthew Dillon
> <dillon@xxxxxxxxxxxxx>
>
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]