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

[Xen-devel] Re: preempt_disable() imbalance in take_machine_down()? [linux-2.6.18-xen.hg]



>>> On 05.04.11 at 15:59, Laszlo Ersek <lersek@xxxxxxxxxx> wrote:
> Looking at take_machine_down() and __xen_suspend() in 
> "drivers/xen/core/machine_reboot.c", assuming "fast_suspend" is false, 
> it seems that after the loop in take_machine_down() completes, 
> preempt_enable() is never called. Is this intentional?

Probably not.

> If so, how/why does it work?

Because PREEMPT depends on !XEN in kernel/Kconfig.preempt.

Jan


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.