Garrett D'Amore wrote:
> Nicolas Williams wrote:
>> Incidentally, Linux has its own list API, including inlined functions.
>> It'd be nice to have compatibility with that.  Also, I second Darren's
>> sentiment w.r.t. the AVL tree API.
>>   
> 
> Okay, but all of *those* comments are *not this case*.  Unless someone
> believes this case ought to be abandoned in favor of the queue.h macros.

I don't.  I think both should exist.

> For my nickel, I think its sad that we have to have two "competing" list
> types in the kernel.

Agreed.

> Given that, I'd actually prefer to remove the queue.h interfaces, and
> promote list.h.  list.h interfaces are safer than BSD queue.h (see above
> argument), and have been around and available since ~forever.

Please don't!

The BSD queue.h interfaces are used in both kernel *and* user-space code
 -- they're also present on Linux -- and the lack of them on classic
Solaris is a very annoying application portability issue.

Removing them would be a big step backwards.

-- 
James Carlson         42.703N 71.076W         <carlsonj at workingcode.com>

Reply via email to