[Bug testsuite/10212] System hangs on running check.exp in systemtap snapshot : 0.9.7/0.141 commit release-0.9.7-167-geee30f4
ananth at in dot ibm dot com
sourceware-bugzilla@sourceware.org
Tue Jun 16 11:06:00 GMT 2009
------- Additional Comments From ananth at in dot ibm dot com 2009-06-16 11:05 -------
I believe stop_cpu() in kernel/stop_machine.c has a bug.. need someone
conversant in that area to confirm the veracity of this bugfix:
---
kernel/stop_machine.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Index: linux-2.6.30/kernel/stop_machine.c
===================================================================
--- linux-2.6.30.orig/kernel/stop_machine.c
+++ linux-2.6.30/kernel/stop_machine.c
@@ -68,7 +68,7 @@ static void stop_cpu(struct work_struct
{
enum stopmachine_state curstate = STOPMACHINE_NONE;
struct stop_machine_data *smdata = &idle;
- int cpu = smp_processor_id();
+ int cpu = raw_smp_processor_id();
int err;
if (!active_cpus) {
--
http://sourceware.org/bugzilla/show_bug.cgi?id=10212
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the Systemtap
mailing list