Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Aug 2001 09:42:19 -0700
From:      Mark Peek <mark@whistle.com>
To:        current@FreeBSD.ORG
Subject:   Re: Kernel stack hogs list available
Message-ID:  <p0510031cb7a1a473c02f@[207.76.207.129]>
In-Reply-To: <Pine.NEB.3.96L.1010816112624.84586C-100000@fledge.watson.org>
References:  <Pine.NEB.3.96L.1010816112624.84586C-100000@fledge.watson.org>

next in thread | previous in thread | raw e-mail | index | archive | help
At 11:29 AM -0400 8/16/01, Robert Watson wrote:
>This is way cool stuff.  I assume these are done based on i386 stack frame
>layouts?  Running on other platforms will result in different alignment
>(minor issue, as most of the time it will just be a few bytes here or
>there), and some different code (specifically, alpha/, ia64/, etc).
>Together with functional cross-compiling, this could be a very useful tool
>indeed.  Perhaps someone on the alpha side could do the same test run on
>that platform?

Also, the number of registers and compiler flags such as optimization will
cause different register spills to occur. You can't just count up the bytes
by looking at the code, it needs to be done in the compiler alongside
register allocation. I know we only recommend -O compilations but other
flags could affect the count.

Mark

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?p0510031cb7a1a473c02f>