From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15919 invoked by alias); 22 Sep 2016 18:09:23 -0000 Mailing-List: contact systemtap-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: systemtap-owner@sourceware.org Received: (qmail 127454 invoked by uid 48); 22 Sep 2016 18:09:09 -0000 From: "dsmith at redhat dot com" To: systemtap@sourceware.org Subject: [Bug testsuite/20600] parallel testsuite hang in [nd_]syscall.exp Date: Thu, 22 Sep 2016 18:09:00 -0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: systemtap X-Bugzilla-Component: testsuite X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dsmith at redhat dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: systemtap at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-q3/txt/msg00305.txt.bz2 https://sourceware.org/bugzilla/show_bug.cgi?id=3D20600 --- Comment #5 from David Smith --- (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: =3D=3D=3D=3D /* * 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 =3D 0; preempt_disable(); ret =3D smp_call_function(func, info, wait); local_irq_save(flags); func(info); local_irq_restore(flags); preempt_enable(); return ret; } =3D=3D=3D=3D --=20 You are receiving this mail because: You are the assignee for the bug.