lkml.org 
[lkml]   [2008]   [Jun]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: stack overflow on Sparc64
From
From: Mikulas Patocka <mpatocka@redhat.com>
Date: Fri, 20 Jun 2008 18:36:09 -0400 (EDT)

> On Fri, 20 Jun 2008, David Miller wrote:
>
> > Yes for debugging and other things it has to stay.
>
> If you want it to stay, then it doesn't make sense to make functions
> tail-call-friendly --- because it should not crash with or without
> debugging.

On the contrary, of course it makes sense to do so.

When debugging is disabled, the kernel will run faster.

We have to fix the stack usage in either case, but from a
performance standpoint when debugging is disabled the
tail-call friendly layout is still highly desirable.


\
 
 \ /
  Last update: 2008-06-21 00:49    [W:0.083 / U:0.640 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site