tech-kern archive

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

Re: Using qsort(3) in the kernel



> The kernel stack is limited in size; if the
> recursion is too deep, it
> can exceed that limit.  It's only safe to do
> recursion if you can (a)
> guarantee the maximum depth; and (b) show that for
> all uses of this
> routine, the total stack consumption will be low
> enough.

So even if the size of the include that does
nothing.So you do not need to implement a sort
algorithm in the kernel?







NetBSD is Very JIHBED, JIHEBD it is word arabic == TOP AND POWER INTELLIGENT

http://jihbedunix.blogspot.com


      



Home | Main Index | Thread Index | Old Index