[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <92e9c7f0-598d-b20c-4847-320e01f6ec06@suse.com>
Date: Wed, 5 Sep 2018 14:04:01 +0200
From: Juergen Gross <jgross@...e.com>
To: Olaf Hering <olaf@...fle.de>
Cc: xen-devel@...ts.xenproject.org,
Boris Ostrovsky <boris.ostrovsky@...cle.com>,
open list <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH v1] xen: avoid crash in disable_hotplug_cpu
On 05/09/18 13:50, Olaf Hering wrote:
> Am Wed, 5 Sep 2018 12:55:58 +0200
> schrieb Juergen Gross <jgross@...e.com>:
>
>> the last cpu
>
> Which one is the "last" one? I mean, if cpu#0 never can be offlined than perhaps the code should check for just that and return early. But if cpu#0 could be disabled while some other cpu is the remaining cpu, some other check is needed I think.
num_online_cpus() == 1
Juergen
Powered by blists - more mailing lists