On Fri, Aug 12, 2016 at 09:32:37PM +0200, Ed Schouten wrote: > 2016-08-12 20:36 GMT+02:00 Konstantin Belousov <kostik...@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. _______________________________________________ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"