DragonFly kernel List (threaded) for 2004-09
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
Re: callout patch - make callouts per-cpu and MP safe.
On Tue, Sep 14, 2004 at 10:28:46AM -0700, Matthew Dillon wrote:
> I like the OpenBSD method better (as you describe it), but it would
> be a considerable amount of work to change our APIs.
>
> If you want to change over to the OpenBSD API I would first say that
> we should get rid of the 'old' API (timeout() / untimeout()). Once
> we get rid of the 'old' API we can shift the 'new' API over to a
> 'newer then new' OpenBSD API :-)
Well, if you want to change the API for MP-safeness anyway, it has the
additional advantage of being a red flag ("warning, might deal with MP")
for all developers. It would also allow us to keep the current code and
we don't have to change it twice.
Let me write a patch for it :)
Joerg
>
> -Matt
> Matthew Dillon
> <dillon@xxxxxxxxxxxxx>
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]