tech-kern archive

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

Re: Using qsort(3) in the kernel



Andrew Reilly wrote:
On Sun, Nov 16, 2008 at 06:32:15PM -0800, Matt Thomas wrote:
And not all architectures can do tail call optimizations...

Really?  I thought that a tail call optimization essentially
turned a return into a goto (plus some variable (re)binding).

Well, strictly it should replace a call followed by a return, into a goto. :-)

But yeah, I agree. I can't see why any architecture should (could?) make any difference here.

        Johnny



Home | Main Index | Thread Index | Old Index