tech-kern archive

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

Using qsort(3) in the kernel (was: CVS commit: src)



On Sun, Nov 16, 2008 at 03:01:26PM +0000, Andrew Doran wrote:
> Module Name:  src
> Committed By: ad
> Date:         Sun Nov 16 15:01:26 UTC 2008
> 
> Modified Files:
>       src/sys/lib/libkern: Makefile libkern.h
> Added Files:
>       src/common/lib/libc/stdlib: qsort.c
> Removed Files:
>       src/lib/libc/stdlib: qsort.c
> 
> Log Message:
> Make qsort() available in libkern.

Our implementation of qsort() uses recursion. That is IMHO a dangerous
thing to do in the kernel.

        Kind regards

-- 
Matthias Scheler                                  http://zhadum.org.uk/


Home | Main Index | Thread Index | Old Index