DragonFly BSD
DragonFly kernel List (threaded) for 2004-01
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: [PATCH] Double-level file descriptor allocation

From: Skip Ford <skip.ford@xxxxxxxxxxx>
Date: Thu, 22 Jan 2004 09:01:18 -0500

>     This patch is a lot cleaner then what DES did, but doesn't quite
>     solve the problem either.
>     Would either you or Skip like to adapt *just* the fd_used() and 
>     fd_unused() pieces, without any of the bitmap stuff?  i.e. don't
>     implement fd_lomap or fd_himap or anything like that, just create
>     the fd_used() and fd_unused() abstraction and the structural
>     field manipulation they do on the original structural fields.  The
>     allocation, reallocation, and freeing code also has to be abstracted
>     into API functions.

I'd be willing to give it a shot.  I've gotten familiar with the code so I
understand the API you want.  If nobody else jumps in to do it, I'll try
to do it.  Sounds much cleaner.

>     might as well use a radix tree with simple first-free hinting

I might need some pointers on that part though.


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