Skip site navigation (1)Skip section navigation (2)
Date:      2 Dec 1999 12:58:36 -0000
From:      Ville-Pertti Keinonen <will@iki.fi>
To:        marcel@scc.nl
Cc:        current@freebsd.org, dillon@apollo.backplane.com, bde@zeta.org.au
Subject:   Re: kernel: -mpreferred-stack-boundary=2 ??
Message-ID:  <19991202125836.4772.qmail@ns.demophon.com>
In-Reply-To: <38466658.CA1D78BA@scc.nl> (message from Marcel Moolenaar on Thu, 02 Dec 1999 13:30:16 %2B0100)

next in thread | previous in thread | raw e-mail | index | archive | help

> > > Maybe alignment can even be done in the kernel...
> > 
> > It gets messy, it has to be done before putting the env and argv
> > pointers in place...
> 
> Alignment also applies to calling signal handlers...

Which is easier because sigframe has a constant size and you know what
the relationship between the start of the sigframe and the stack
pointer at the point of signal handler entry is (unlike when copying
the arguments, in which case the fixup-code for the binary type
determines this).

And signal handlers probably don't execute performance-critical
floating point code very often...


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?19991202125836.4772.qmail>