From: tip-bot for Rabin Vincent <rabin@rab.in>
To: linux-tip-commits@vger.kernel.org
Cc: linux-kernel@vger.kernel.org, hpa@zytor.com, mingo@redhat.com,
mathieu.desnoyers@efficios.com, rabin@rab.in,
a.p.zijlstra@chello.nl, masami.hiramatsu.pt@hitachi.com,
tglx@linutronix.de, jbaron@redhat.com, mingo@elte.hu
Subject: [tip:x86/urgent] x86: Call stop_machine_text_poke() on all CPUs
Date: Fri, 18 Nov 2011 15:35:14 -0800 [thread overview]
Message-ID: <tip-78345d2edc25e001558f3b7c85906f645d38d23c@git.kernel.org> (raw)
In-Reply-To: <1319702072-32676-1-git-send-email-rabin@rab.in>
Commit-ID: 78345d2edc25e001558f3b7c85906f645d38d23c
Gitweb: http://git.kernel.org/tip/78345d2edc25e001558f3b7c85906f645d38d23c
Author: Rabin Vincent <rabin@rab.in>
AuthorDate: Thu, 27 Oct 2011 13:24:32 +0530
Committer: Ingo Molnar <mingo@elte.hu>
CommitDate: Mon, 14 Nov 2011 13:05:15 +0100
x86: Call stop_machine_text_poke() on all CPUs
It appears that stop_machine_text_poke() wants to be called on all CPUs,
like it's done from text_poke_smp(). Fix text_poke_smp_batch() to do
this.
Signed-off-by: Rabin Vincent <rabin@rab.in>
Acked-by: Masami Hiramatsu <masami.hiramatsu.pt@hitachi.com>
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Cc: Jason Baron <jbaron@redhat.com>
Link: http://lkml.kernel.org/r/1319702072-32676-1-git-send-email-rabin@rab.in
Signed-off-by: Ingo Molnar <mingo@elte.hu>
---
arch/x86/kernel/alternative.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/arch/x86/kernel/alternative.c b/arch/x86/kernel/alternative.c
index c638228..1f84794 100644
--- a/arch/x86/kernel/alternative.c
+++ b/arch/x86/kernel/alternative.c
@@ -738,5 +738,5 @@ void __kprobes text_poke_smp_batch(struct text_poke_param *params, int n)
atomic_set(&stop_machine_first, 1);
wrote_text = 0;
- __stop_machine(stop_machine_text_poke, (void *)&tpp, NULL);
+ __stop_machine(stop_machine_text_poke, (void *)&tpp, cpu_online_mask);
}
prev parent reply other threads:[~2011-11-18 23:35 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-10-27 7:54 [PATCH] x86: call " Rabin Vincent
2011-10-28 2:28 ` Masami Hiramatsu
2011-10-28 12:30 ` Rabin Vincent
2011-11-01 12:04 ` Masami Hiramatsu
2011-11-18 23:35 ` tip-bot for Rabin Vincent [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=tip-78345d2edc25e001558f3b7c85906f645d38d23c@git.kernel.org \
--to=rabin@rab.in \
--cc=a.p.zijlstra@chello.nl \
--cc=hpa@zytor.com \
--cc=jbaron@redhat.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-tip-commits@vger.kernel.org \
--cc=masami.hiramatsu.pt@hitachi.com \
--cc=mathieu.desnoyers@efficios.com \
--cc=mingo@elte.hu \
--cc=mingo@redhat.com \
--cc=tglx@linutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome