openvortex-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Openvortex-dev] Driver updates to come.


From: Jeff Muizelaar
Subject: Re: [Openvortex-dev] Driver updates to come.
Date: Thu, 24 Jul 2003 23:43:41 -0400 (EDT)


On 11 Jul 2003, Manuel Jander wrote:

> Hi Jeff,
>
> After looking at your proposal, i really dont like that copy paste. I
> know that it isn't the usual way to do things (my original patch), but
> why should we use the usual way anyway ? In my opinion this aproach is
> much more lean, small, and less bug prone. The alloc and dealloc parts
> must follow exactly the same path, because if don't, the complexity
> grows to insane levels. And all the existing subsystem uses this very
> same approach. An alternative would be to write wrappers for
> "allocroute", but that doesnt make much sense to me; this is no API, its
> just an internal interface, so there is no need to make it specially
> nice for C newbies :)
>

Alright I'm back now as well. How about the following approach?
No copy and paste except for spin_lock and spin_unlock, gives a sane
interface, fixes a locking bug, and keeps the total object size
exactly the same.

-Jeff

Attachment: resman-split.patch
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]