Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1534140 > unrolled thread

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

Started bySebastian Andrzej Siewior <bigeasy@linutronix.de>
First post2016-12-01 15:20 +0100
Last post2016-12-01 15:20 +0100
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [PATCH] arm: kprobe: replace patch_lock to raw lock Sebastian Andrzej Siewior <bigeasy@linutronix.de> - 2016-12-01 15:20 +0100

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

FromSebastian Andrzej Siewior <bigeasy@linutronix.de>
Date2016-12-01 15:20 +0100
SubjectRe: [PATCH] arm: kprobe: replace patch_lock to raw lock
Message-ID<sJAno-4Xx-33@gated-at.bofh.it>
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 <yang.shi@linaro.org>

Sebastian

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web