From: Andrew Morton <akpm@linux-foundation.org>
To: James Bottomley <James.Bottomley@HansenPartnership.com>
Cc: jirislaby@gmail.com, megaraidlinux@lsi.com,
linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH #repost] SCSI: megaraid, fix suspend/resume sections
Date: Thu, 1 May 2008 15:30:48 -0700 [thread overview]
Message-ID: <20080501153048.2a8d356f.akpm@linux-foundation.org> (raw)
In-Reply-To: <1209679559.14864.33.camel@localhost.localdomain>
On Thu, 01 May 2008 17:05:59 -0500
James Bottomley <James.Bottomley@HansenPartnership.com> wrote:
> On Thu, 2008-05-01 at 23:34 +0200, Jiri Slaby wrote:
> > On 05/01/2008 11:23 PM, Andrew Morton wrote:
> > > On Thu, 1 May 2008 17:56:02 +0200
> > > Jiri Slaby <jirislaby@gmail.com> wrote:
> > >
> > >> megaraid_sas suspend and resume are inappropriatelly placed in
> > >> __devinit section.
> > >
> > > That's a box-killer, isn't it?
> >
> > I think so -- the non-CONFIG_HOTPLUG ones.
>
> CONFIG_HOTPLUG is only settable to 'n' if you're CONFIG_EMBEDDED which
> has a zero set intersection with the users of megaraid, so in practical
> terms, there's no actual box it could kill.
who suspends and resumes servers?
> this whole
>
> #if CONFIG_PM
> define suspend resume
> #else
> set suspend resume methods to null
> #endif
>
> Is completely analagous to what we used to do with CONFIG_HOTPLUG before
> we had the __dev.* sectional annotations. Since the expanding
> bureacracy is determined to keep the _dev.* sections
ooh, that makes us sound really bad! ("since the server-obsessed
embedded-hating bloatmonkeys..."?)
> in spite of the pain,
What pain? Other people write the dang patches for you! Their main
problem is getting them merged.
> 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.
b) worth investigating. It might lead to lengthy chains of compilation
warnings though.
next prev parent reply other threads:[~2008-05-01 22:30 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 [this message]
2008-05-02 14:56 ` James Bottomley
2008-05-02 15:01 ` Jiri Slaby
2008-05-02 15:03 ` James Bottomley
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=20080501153048.2a8d356f.akpm@linux-foundation.org \
--to=akpm@linux-foundation.org \
--cc=James.Bottomley@HansenPartnership.com \
--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;
as well as URLs for NNTP newsgroup(s).