Re: [PATCH] PM: fix irq enable/disable in runtime PM code

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

 



On Tuesday 24 November 2009, Alan Stern wrote:
> This patch (as1305) fixes a bug in the irq-enable settings and removes
> some related overhead in the runtime PM code.
> 
> 	In __pm_runtime_resume(), within the scope of the original
> 	spin_lock_irq(), we know that irqs are disabled.  There's no
> 	reason to go through a pair of enable/disable cycles when
> 	acquiring and releasing the parent's lock.
> 
> 	In __pm_runtime_set_status(), irqs are already disabled when
> 	the parent's lock is acquired, and they must remain disabled
> 	when it is released.
> 
> Signed-off-by: Alan Stern <stern@xxxxxxxxxxxxxxxxxxx>

Applied to suspend-2.6/linux-next.

I'll try to push it to Linus before 2.6.32.

Thanks,
Rafael

_______________________________________________
linux-pm mailing list
linux-pm@xxxxxxxxxxxxxxxxxxxxxxxxxx
https://lists.linux-foundation.org/mailman/listinfo/linux-pm

[Index of Archives]     [Linux ACPI]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [CPU Freq]     [Kernel Newbies]     [Fedora Kernel]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux