lkml.org 
[lkml]   [2015]   [Apr]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: qemu:arm test failure due to commit 8053871d0f7f (smp: Fix smp_call_function_single_async() locking)

* Guenter Roeck <linux@roeck-us.net> 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


\
 
 \ /
  Last update: 2015-04-19 20:21    [W:0.082 / U:2.252 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site