Re: [PATCH] SLIST mergesort implementation

2013-11-25 Thread Theo de Raadt
> This is an implementation of the merge sort algorithm for SLIST in > queue(3). Sorting is something you do in an algorithm when you need it, specific to that algorithm, exactly where you need it. queue.h is supposed to be a minimal API, general access so that the specifics remain in the code us

Re: [PATCH] SLIST mergesort implementation

2013-11-25 Thread Philip Guenther
On Mon, Nov 25, 2013 at 5:51 PM, Rafael Zalamena wrote: > This is an implementation of the merge sort algorithm for SLIST in > queue(3). You gave a good description of _what_ your diff does, but not _why_ it should be done. The reaction of some developers is basically "WTFityFF?!?!" Off the top

[PATCH] SLIST mergesort implementation

2013-11-25 Thread Rafael Zalamena
This is an implementation of the merge sort algorithm for SLIST in queue(3). Merge sort is a stable algorithm that provides us a worst case run time of O(n lg n) and uses at most O(n) of stack (where 'n' is the current number of elements in the list). The patch attached to this mail provides the

Re: NSD 4

2013-11-25 Thread Patrik Lundin
On Mon, Nov 25, 2013 at 06:15:48PM +, Stuart Henderson wrote: > I've had one test report so far, has anyone else tested this? > > > Update notes (also repeated in the diff file): > > > > cd /usr/sbin && rm nsd-notify nsd-patch nsd-xfer nsd-zonec nsdc > > cd /usr/share/man/man8 && rm nsd-notif

Re: NSD 4

2013-11-25 Thread Stuart Henderson
I've had one test report so far, has anyone else tested this? On 2013/11/22 21:04, Stuart Henderson wrote: > I've got an update of NSD to v4.0, it's a fairly large diff so I've > put it at http://junkpile.org/nsd4.diff (apply diff in /usr/src, it > includes changes to etc/rc.d/nsd which must also

Re: uhub2: device problem, disabling port 2

2013-11-25 Thread Martin Pieuchot
On 22/11/13(Fri) 13:48, Stuart Henderson wrote: > uhub2: port 2, set config at addr 3 failed > uhub2: device problem, disabling port 2 > > When this happens, is there any way to get the port back without rebooting? Have you tried suspending/resuming the machine? Apart from that, the diff below i