[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20080709222347.GB10976@mit.edu>
Date: Wed, 9 Jul 2008 18:23:47 -0400
From: Theodore Tso <tytso@....edu>
To: "Rafael J. Wysocki" <rjw@...k.pl>
Cc: Pavel Machek <pavel@...e.cz>, David Miller <davem@...emloft.net>,
alan@...rguk.ukuu.org.uk, mchan@...adcom.com, dwmw2@...radead.org,
bastian@...di.eu.org, linux-kernel@...r.kernel.org
Subject: Re: request_firmware vs. resume (was Re: [PATCH] bnx2 - use
request_firmware())
On Wed, Jul 09, 2008 at 11:58:31PM +0200, Rafael J. Wysocki wrote:
> > Translation: so much for saving "non-swappable kernel memory".
> > Unless, of course we add a pre-suspend hook. (Which doesn't exist
> > yet, AFAICT from a quick perusal of Documentation/power/devices.txt.)
>
> No, it doesn't.
>
> You will be able to register a suspend notifier instead, but this requires
> one fix which is in the works.
Will a suspend notifier be able to block the suspend until userspace
gets back to the device driver calling request_firmware()?
- Ted
--
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