[RFC PATCH 04/12] arm: mm: cache-l2x0: add l2x0 suspend and resume functions
dwalker at codeaurora.org
Fri Jan 29 12:59:29 EST 2010
On Fri, 2010-01-29 at 09:55 -0800, Ruan, Willie wrote:
> > From: Catalin Marinas [mailto:catalin.marinas at arm.com]
> > Sent: Friday, January 29, 2010 3:09 AM
> > Do we need any for of locking around this code (as we do for
> > l2x0_inv_all) or races are not possible during suspend?
> Local interrupts have been disabled in suspend_ops->enter and
> in arch_idle. Thus, no other locking is necessary.
What if there are multiple cpu's calling cache_sync() at the same time?
Disable interrupt wouldn't prevent it ..
More information about the linux-arm-kernel