Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752343AbbDSSBt (ORCPT ); Sun, 19 Apr 2015 14:01:49 -0400 Received: from mail-wg0-f42.google.com ([74.125.82.42]:36484 "EHLO mail-wg0-f42.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751623AbbDSSBp (ORCPT ); Sun, 19 Apr 2015 14:01:45 -0400 Date: Sun, 19 Apr 2015 20:01:40 +0200 From: Ingo Molnar To: Guenter Roeck Cc: Linus Torvalds , Rabin Vincent , Linux Kernel Mailing List , Peter Zijlstra , Thomas Gleixner , "Paul E. McKenney" Subject: Re: qemu:arm test failure due to commit 8053871d0f7f (smp: Fix smp_call_function_single_async() locking) Message-ID: <20150419180140.GA8934@gmail.com> References: <20150418232325.GA22411@roeck-us.net> <20150418234050.GA5987@roeck-us.net> <55330B32.4010907@roeck-us.net> <20150419033940.GA25145@debian> <20150419093112.GA6139@gmail.com> <5533B6D7.9050101@roeck-us.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5533B6D7.9050101@roeck-us.net> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1051 Lines: 29 * Guenter Roeck wrote: > > I _think_ most such callers calling an SMP function call for > > offline or out of range CPUs are at minimum racy. > > Not really; at least the online cpu part is an absolutely normal use > case for qemu-arm. The problem is that an IPI is attempted to be sent to a non-existent CPU AFAICS, right? > Sure, you can argue that "this isn't the real system", and that > qemu-arm should be "fixed", but there are reasons - the emulation is > (much) slower if the number of CPUs is set to 4, and not everyone > who wants to use qemu has a system with as many CPUs as the emulated > system would normally have. That's all fine and good, but why is an IPI sent to a non-existent CPU? It's not like we don't know which CPU is up and down. Thanks, Ingo -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/