[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20080620.154716.75920403.davem@davemloft.net>
Date: Fri, 20 Jun 2008 15:47:16 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: mpatocka@...hat.com
Cc: sparclinux@...r.kernel.org, linux-kernel@...r.kernel.org,
agk@...hat.com
Subject: Re: stack overflow on Sparc64
From: Mikulas Patocka <mpatocka@...hat.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.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists