Re: Bug 16210 - BUG: scheduling while atomic: swapper/0/0x10000002 when ACPI is initialised

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

 



(CC linux-acpi list)

On Thu, 2010-07-01 at 16:44 +0800, Lin Ming wrote:
> Hi,
> 
> Alexy, Fengguang, Xiaotian,
> 
> https://bugzilla.kernel.org/show_bug.cgi?id=16210
> 
> This bug is about the ACPICA preemption point, would you guys please
> have a look at it?
> 
> /* Used within ACPICA to show where it is safe to preempt execution */
> #include <linux/hardirq.h>
> #define ACPI_PREEMPTION_POINT() \
>         do { \
>                 if (!in_atomic_preempt_off() && !irqs_disabled()) \
>                         cond_resched(); \
>         } while (0)
> 
> Thanks,
> Lin Ming

--
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