svn commit: r304011 - head/libexec/rtld-elf

Konstantin Belousov kostikbel at gmail.com
Fri Aug 12 19:35:47 UTC 2016


On Fri, Aug 12, 2016 at 09:32:37PM +0200, Ed Schouten wrote:
> 2016-08-12 20:36 GMT+02:00 Konstantin Belousov <kostikbel at gmail.com>:
> > Because the API is unusable.  It causes full queue iteration when the object
> > is NULL, i.e. at the end of the queue, instead of doing nothing.
> 
> Ah, thanks for working on this then. I personally think that all of
> those macros in <sys/queue.h> that run in linear time should be
> removed. Why not just use the proper data structure?

What is improper about the tail-queue for global object list ?
Typical operations with it involve all objects in the list.  The only
special ops I am aware are lookups by name or by dev_t/inode, but having
the parallel (two) maps there is overkill.


More information about the svn-src-all mailing list