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

From
Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Date
2016-12-01 14:12:37
Also in
linux-arm-kernel, lkml
Reply to
Yang Shi, 2016-11-11
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.
I am taking this one. Thank you.
We have jump_labels() deactivated on ARM because stop_machine() may
cause latencies at runtime. kprobe and kgdb is used by the user on
purpose (and not because he changed some sched setting) I think we are
fine. I am going to document this.
Signed-off-by: Yang Shi <redacted>
Sebastian
Thread (4 messages) 4 messages, 2 authors, last reply 2016-12-05
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help