Skip to contentSkip to conversation

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

DISCUSSION Lin Ming 1 participant 1 message Jul 1, 2010 1 message not in the archive ACPI

lore
Share & tools
lore

Lin Ming

author
#1 lore raw
In reply to a message not in the archive

(CC linux-acpi list)

Quoted 19 lines · Lin Ming

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