mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Nigel Cunningham" <ncunningham@linuxmail.org>
To: "Benjamin Herrenschmidt" <benh@kernel.crashing.org>
Cc: "Pavel Machek" <pavel@suse.cz>,
	"Herbert Xu" <herbert@gondor.apana.org.au>,
	"Andrew Morton" <akpm@zip.com.au>,
	seife@suse.de, "Nigel Cunningham" <ncunningham@linuxmail.com>,
	"Roland Stigge" <stigge@antcom.de>,
	234976@bugs.debian.org,
	"Linux Kernel Mailing List" <linux-kernel@vger.kernel.org>
Subject: Re: Bug#234976: kernel-source-2.6.4: Software Suspend doesn't work
Date: Wed, 28 Apr 2004 09:30:08 +1000	[thread overview]
Message-ID: <opr6418icrshwjtr@laptop-linux.wpcb.org.au> (raw)
In-Reply-To: <1083108250.16475.54.camel@gaston>

Hi.

On Wed, 28 Apr 2004 09:24:11 +1000, Benjamin Herrenschmidt  
<benh@kernel.crashing.org> wrote:
> Which, as I keep saying, is plain broken ... You simply cannot control
> what side effects the compiler will generate, like touching the stack,
> etc... Such a critical routine _has_ to be written in assembly (and
> properly commented of course). Anything else is asking for trouble.

No, it doesn't have to be written in assembly. If that was the case, I  
wouldn't have managed to get it working under a variety of compiler  
versions already. So long as assemblers honour the directives, we're okay.  
Of course I'll freely admit that hand coding would probably result in  
nicer, tidier and maybe faster code, and you would know that it was doing  
the right thing. In the long time I would prefer to do that. But right now  
I'm being a pragmatist: .c works, I don't know x86 assembly and don't have  
the time to learn it and the code is still changing a little, so I'll  
delay making a .S file for now.

Please, forgive me!

Regards,

Nigel
-- 
Nigel Cunningham
C/- Westminster Presbyterian Church Belconnen
61 Templeton Street, Cook, ACT 2614, Australia.
+61 (2) 6251 7727 (wk)

  reply	other threads:[~2004-04-27 23:45 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <E1B6on4-0005EW-00@gondolin.me.apana.org.au>
     [not found] ` <1080310299.2108.10.camel@atari.stigge.org>
     [not found]   ` <20040326142617.GA291@elf.ucw.cz>
     [not found]     ` <1080315725.2951.10.camel@atari.stigge.org>
     [not found]       ` <20040326155315.GD291@elf.ucw.cz>
     [not found]         ` <1080317555.12244.5.camel@atari.stigge.org>
     [not found]           ` <20040326161717.GE291@elf.ucw.cz>
     [not found]             ` <1080325072.2112.89.camel@atari.stigge.org>
2004-04-26  9:48               ` Herbert Xu
2004-04-26 10:40                 ` Herbert Xu
2004-04-26 11:27                   ` Nigel Cunningham
2004-04-26 12:11                     ` Herbert Xu
2004-04-26 12:15                       ` Nigel Cunningham
2004-04-26 13:46                         ` Pavel Machek
2004-04-26 20:39                           ` Nigel Cunningham
2004-04-26 13:11                     ` Pavel Machek
2004-04-27  6:56                       ` Benjamin Herrenschmidt
2004-04-27  8:56                         ` Nigel Cunningham
2004-04-27 10:21                         ` Pavel Machek
2004-04-27 10:23                           ` Herbert Xu
2004-04-27 10:26                             ` Pavel Machek
2004-04-27 12:48                             ` Pavel Machek
2004-04-27 12:54                               ` Herbert Xu
2004-04-27 13:53                                 ` Pavel Machek
2004-04-27 21:52                                 ` Pavel Machek
2004-04-27 22:58                                   ` Nigel Cunningham
2004-04-27 23:16                                     ` Pavel Machek
2004-04-27 23:16                                       ` Nigel Cunningham
2004-04-27 23:24                                         ` Benjamin Herrenschmidt
2004-04-27 23:30                                           ` Nigel Cunningham [this message]
2004-04-28  0:17                                           ` Pavel Machek
2004-04-26 13:08                 ` Pavel Machek
2004-04-27  8:02                   ` Herbert Xu
     [not found] <1E2xl-5lP-23@gated-at.bofh.it>
     [not found] ` <1E4z7-77w-13@gated-at.bofh.it>
     [not found]   ` <1Pb4h-8hZ-11@gated-at.bofh.it>
     [not found]     ` <1Pc0Y-BC-45@gated-at.bofh.it>
     [not found]       ` <1PcWn-1tE-11@gated-at.bofh.it>
     [not found]         ` <1Pf8I-3qP-31@gated-at.bofh.it>
     [not found]           ` <1PuTf-7ZO-7@gated-at.bofh.it>
     [not found]             ` <1Py1q-1ZH-23@gated-at.bofh.it>
     [not found]               ` <1Py1y-1ZH-43@gated-at.bofh.it>
     [not found]                 ` <1PAlX-3Vx-1@gated-at.bofh.it>
2004-04-27 23:30                   ` Karol Kozimor
2004-04-27 23:33                     ` Pavel Machek
2004-04-27 23:46                       ` Karol Kozimor
2004-04-28  0:56                         ` Pavel Machek
2004-04-28  9:05                           ` Karol Kozimor

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=opr6418icrshwjtr@laptop-linux.wpcb.org.au \
    --to=ncunningham@linuxmail.org \
    --cc=234976@bugs.debian.org \
    --cc=akpm@zip.com.au \
    --cc=benh@kernel.crashing.org \
    --cc=herbert@gondor.apana.org.au \
    --cc=linux-kernel@vger.kernel.org \
    --cc=ncunningham@linuxmail.com \
    --cc=pavel@suse.cz \
    --cc=seife@suse.de \
    --cc=stigge@antcom.de \
    /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®