This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug testsuite/20600] parallel testsuite hang in [nd_]syscall.exp
- From: "dsmith at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sourceware dot org
- Date: Thu, 22 Sep 2016 18:09:09 +0000
- Subject: [Bug testsuite/20600] parallel testsuite hang in [nd_]syscall.exp
- Auto-submitted: auto-generated
- References: <bug-20600-6586@http.sourceware.org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=20600
--- Comment #5 from David Smith <dsmith at redhat dot com> ---
(In reply to David Smith from comment #4)
> Here's an update.
... stuff deleted ...
> On RHEL7, on_each_cpu() looks like the following:
Nope, that was on_each_cpu() for a single-processor kernel. Here's
on_each_cpu() for a SMP kernel:
====
/*
* Call a function on all processors. May be used during early boot while
* early_boot_irqs_disabled is set. Use local_irq_save/restore() instead
* of local_irq_disable/enable().
*/
int on_each_cpu(void (*func) (void *info), void *info, int wait)
{
unsigned long flags;
int ret = 0;
preempt_disable();
ret = smp_call_function(func, info, wait);
local_irq_save(flags);
func(info);
local_irq_restore(flags);
preempt_enable();
return ret;
}
====
--
You are receiving this mail because:
You are the assignee for the bug.