From: James Bottomley <James.Bottomley@HansenPartnership.com>
To: Jiri Slaby <jirislaby@gmail.com>
Cc: Andrew Morton <akpm@linux-foundation.org>,
megaraidlinux@lsi.com, linux-scsi@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH #repost] SCSI: megaraid, fix suspend/resume sections
Date: Fri, 02 May 2008 10:03:45 -0500 [thread overview]
Message-ID: <1209740625.3121.27.camel@localhost.localdomain> (raw)
In-Reply-To: <481B2CB8.2000307@gmail.com>
On Fri, 2008-05-02 at 17:01 +0200, Jiri Slaby wrote:
> James Bottomley napsal(a):
> >>> could we not at least make the machinery do something vaguely
> >>> useful and expand it to confine the pm routines to sections which can be
> >>> discarded if CONFIG_PM is n?
> >> a) it would need to be discarded at link-time, ideally.
> >
> > Yes, the same way the exit sections are: as linker discards. We also
> > have the mechanics for runtime discards which is useful for modules
>
> No it doesn't, exits are discarded at runtime only. At least on x86.
No what doesn't? I said we have the mechanics to discard both at link
and at run time.
I think you'll find that .exitcall.exit is link time discarded on x86
and the others are runtime discarded.
James
next prev parent reply other threads:[~2008-05-02 15:03 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-05-01 15:56 [PATCH #repost] SCSI: megaraid, fix suspend/resume sections Jiri Slaby
2008-05-01 19:51 ` Yang, Bo
2008-05-01 21:23 ` Andrew Morton
2008-05-01 21:34 ` Jiri Slaby
2008-05-01 22:05 ` James Bottomley
2008-05-01 22:30 ` Andrew Morton
2008-05-02 14:56 ` James Bottomley
2008-05-02 15:01 ` Jiri Slaby
2008-05-02 15:03 ` James Bottomley [this message]
2008-05-02 17:15 ` Zan Lynx
2008-05-14 14:54 ` Pavel Machek
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=1209740625.3121.27.camel@localhost.localdomain \
--to=james.bottomley@hansenpartnership.com \
--cc=akpm@linux-foundation.org \
--cc=jirislaby@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-scsi@vger.kernel.org \
--cc=megaraidlinux@lsi.com \
/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