RE: [patch 16/26] acpi_os_acquire_object (GFP_KERNEL) called with IRQs disabled through suspend-resume

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> void *acpi_os_acquire_object(acpi_cache_t * cache)
> {
>-	void *object = kmem_cache_alloc(cache, GFP_KERNEL);
>+	void *object;
>+
>+	if (acpi_in_resume)
>+		object = kmem_cache_alloc(cache, GFP_ATOMIC);
>+	else
>+		object = kmem_cache_alloc(cache, GFP_KERNEL);
> 	WARN_ON(!object);
> 	return object;
>

I want to delete acpi_in_resume -- replacing it with
use of a system state.

But this patch makes things incrementally better for
the moment until than can be done, so I've applied it.

thanks,
-Len
-
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux IBM ACPI]     [Linux Power Management]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux