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

Kevin Hilman khilman at deeprootsystems.com
Wed May 19 18:44:29 EDT 2010


Russell King - ARM Linux <linux at arm.linux.org.uk> writes:

> 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.

Indeed, I see it is fixed already there.

Sorry for the noise,

Kevin



More information about the linux-arm-kernel mailing list