Messages in this thread | | | Date | Thu, 18 Dec 2008 17:48:01 +0100 | From | Pavel Machek <> | Subject | Re: acpi_os_allocate(GFP_KERNEL) (was Re: acpi_evaluate_integer broken by design) |
| |
On Thu 2008-12-18 01:07:08, Len Brown wrote: > > > -- Len Brown, Intel Open Source Technology Center > > > In fact, we should be using GFP_ATOMIC already while devices are being > > suspended, so we can switch from GFP_KERNEL to GFP_ATOMIC even before > > interrupts are enabled. > > true. it makes me wonder if tinkering with ACPI > is a bad idea -- for it will address only one user of kmalloc.
Other users should already know that they are called while suspending device, and behave accordingly (use right flags to kmalloc, etc.)
If not, that's a bug... Pavel -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
| |