[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <481B2CB8.2000307@gmail.com>
Date: Fri, 02 May 2008 17:01:12 +0200
From: Jiri Slaby <jirislaby@...il.com>
To: James Bottomley <James.Bottomley@...senPartnership.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
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.
--
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