Re: [PATCH] arm: kprobe: replace patch_lock to raw lock

From: Shi, Yang
Date: Mon Dec 05 2016 - 13:16:44 EST


On 12/1/2016 6:13 AM, Sebastian Andrzej Siewior wrote:
On 2016-11-10 16:17:55 [-0800], Yang Shi wrote:

Since patch_text_stop_machine() is called in stop_machine() which disables IRQ,
sleepable lock should be not used in this atomic context, so replace patch_lock
to raw lock.

Signed-off-by: Yang Shi <yang.shi@xxxxxxxxxx>

This can also go upstream.
Acked-by: Sebastian Andrzej Siewior <bigeasy@xxxxxxxxxxxxx>

Yes, thanks for acking.

Russell,

Could you please consider this patch?

Thanks,
Yang


Sebastian