From owner-freebsd-current Thu Dec 2 5: 1: 8 1999 Delivered-To: freebsd-current@freebsd.org Received: from ns.demophon.com (ns.demophon.com [193.65.70.13]) by hub.freebsd.org (Postfix) with SMTP id C13E514DBA for ; Thu, 2 Dec 1999 05:01:05 -0800 (PST) (envelope-from will@ns.demophon.com) Received: (qmail 4775 invoked by uid 1003); 2 Dec 1999 12:58:36 -0000 Date: 2 Dec 1999 12:58:36 -0000 Message-ID: <19991202125836.4772.qmail@ns.demophon.com> From: Ville-Pertti Keinonen To: marcel@scc.nl Cc: current@freebsd.org, dillon@apollo.backplane.com, bde@zeta.org.au In-reply-to: <38466658.CA1D78BA@scc.nl> (message from Marcel Moolenaar on Thu, 02 Dec 1999 13:30:16 +0100) Subject: Re: kernel: -mpreferred-stack-boundary=2 ?? Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > > 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