mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Jamie Lokier <jamie@shareable.org>
To: Andi Kleen <ak@muc.de>
Cc: linux-kernel@vger.kernel.org, jh@suse.cz
Subject: Re: stack alignment in the kernel was Re: nasm over gas?
Date: Sun, 14 Sep 2003 16:56:54 +0100	[thread overview]
Message-ID: <20030914155654.GD16525@mail.jlokier.co.uk> (raw)
In-Reply-To: <20030914141346.GA1194@averell>

Andi Kleen wrote:
> Hmm. The i386 Makefile sets that already. Where exactly did you see
> bogus stack adjustments in kernel code?

I didn't.  I saw them in a test program for __builtin_expect() in the
"oops_in_progress is unlikely()" thread.

I'm used to seeing redundant "mov" instructions and such from GCC, so
when I saw the stack adjustments with -O2 go away with -Os I thought
they were more of the same - not realising that -Os turns off the stack
alignment.  My error.

-- Jamie

  reply	other threads:[~2003-09-14 15:57 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <rZQN.83u.21@gated-at.bofh.it>
     [not found] ` <saVL.7lR.1@gated-at.bofh.it>
     [not found]   ` <soFo.16a.1@gated-at.bofh.it>
     [not found]     ` <ssJa.6M6.25@gated-at.bofh.it>
     [not found]       ` <tcVB.rs.3@gated-at.bofh.it>
2003-09-08 12:03         ` Ihar 'Philips' Filipau
2003-09-08 13:53           ` Richard B. Johnson
2003-09-08 16:10             ` Jamie Lokier
2003-09-08 16:17           ` Jamie Lokier
2003-09-08 16:45             ` Ihar 'Philips' Filipau
2003-09-08 16:58               ` Jamie Lokier
2003-09-08 17:59           ` William Lee Irwin III
     [not found] ` <uw6d.3hD.35@gated-at.bofh.it>
     [not found]   ` <uxED.5Rz.9@gated-at.bofh.it>
     [not found]     ` <uYbM.26o.3@gated-at.bofh.it>
     [not found]       ` <uZUr.4QR.25@gated-at.bofh.it>
     [not found]         ` <v4qU.3h1.27@gated-at.bofh.it>
     [not found]           ` <vog2.7k4.23@gated-at.bofh.it>
2003-09-13 23:57             ` stack alignment in the kernel was " Andi Kleen
2003-09-14 13:54               ` Jamie Lokier
2003-09-14 14:13                 ` Andi Kleen
2003-09-14 15:56                   ` Jamie Lokier [this message]
2003-09-14 22:27                 ` Jan Hubicka

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20030914155654.GD16525@mail.jlokier.co.uk \
    --to=jamie@shareable.org \
    --cc=ak@muc.de \
    --cc=jh@suse.cz \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®