[RFC/PATCH] arm: oprofile: remove locking from suspend/resume

Russell King - ARM Linux linux at arm.linux.org.uk
Wed May 19 03:04:59 EDT 2010


On Tue, May 18, 2010 at 05:13:01PM -0700, Kevin Hilman wrote:
> Since oprofile is a sysdev, its suspend/resume methods are called with
> interrupts disabled.  Using a mutex (which might sleep) in this atomic
> context is not safe.

It isn't a sysdev anymore.  Suggest you take a look at the ARM tree once
in a while.



More information about the linux-arm-kernel mailing list