[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1209740625.3121.27.camel@localhost.localdomain>
Date: Fri, 02 May 2008 10:03:45 -0500
From: James Bottomley <James.Bottomley@...senPartnership.com>
To: Jiri Slaby <jirislaby@...il.com>
Cc: Andrew Morton <akpm@...ux-foundation.org>, megaraidlinux@....com,
linux-scsi@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH #repost] SCSI: megaraid, fix suspend/resume sections
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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists