[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] memory: bail from page scrubbing when CPU is no longer online
- To: Jan Beulich <jbeulich@xxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxxx>
- From: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
- Date: Thu, 28 Jan 2021 10:37:05 +0000
- Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=citrix.com; dmarc=pass action=none header.from=citrix.com; dkim=pass header.d=citrix.com; arc=none
- Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=ANbkmBCfOimPihB6U7SrXOWAjRWEJjOCDTIHEjtT1eM=; b=VNIdm4zq9COgylW0uYy0bK3N9nciJk+4hL9c1SOgYgu4Izhz0UwfW7Y0rbx5p26mwXaAS4h5d8H8Qpvh7pU3l+JcVJXJUnX0MFfqkjAWf1pbaqHxZ6fy4YyIE4zShS+ym3XMNYTeyZI4Fqg1HnZr8lutUJgpgLhvDS+GwA1L+W+BCLqWEvbTaeT1mRjV75Jw72Wwt6D9639MU1UnpNBD2Y8hsNvVS19Y63wcoguXT0C5BZaEWWOXgw0lV/7ov78INdqerO1PL1VJteFVQD1F4oaiMIpKmQYAcyB8hGnTI0kGOgDHK8TyWEqbCTLvNsPfiQxAOtBEtkCNack48en3qg==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=hdJoBp0a+/OZaCxuLhewZ1RGlBwCXoHdkChfJXo+HLP/Onxycp+obdRZpfjewfi7DQ0JtsqpEGgvdOl2sQ8Kx3oWHQ59pJF+3HJoJnHbiM6VTFMeLLibVZbEMJqdYjTPFE7vHdqYgXu1mBQPKmgeAPGh1tHdoDaf9DJVOv8pzS5GO6RHl1vyr/WqSB0Vrlm+XGlFCeX7wTbHTLjUZDYL7MZug48buL8vAiPVdDTzsXFuvqoXnu8wQRxoRbDKMNqmvhEN3bvXgn5Y8shw4K+pinptuKuj/5HyR84QMyxAnmdLtMlUm3f/KH09hlKimkp3x3ot4D0V238IpizCu3pF1Q==
- Authentication-results: esa2.hc3370-68.iphmx.com; dkim=pass (signature verified) header.i=@citrix.onmicrosoft.com
- Cc: George Dunlap <george.dunlap@xxxxxxxxxx>, Ian Jackson <iwj@xxxxxxxxxxxxxx>, Julien Grall <julien@xxxxxxx>, Stefano Stabellini <sstabellini@xxxxxxxxxx>, Wei Liu <wl@xxxxxxx>
- Delivery-date: Thu, 28 Jan 2021 10:37:20 +0000
- Ironport-sdr: vvcsQkNcBOceuyfPuE3zBYnRx/rhQE8ubB4wnnPoVIl07y0UDXSl10tsupdb8YmYBCqpOaBPX9 scTVwWz/kRX9pFyicQvJG1yO/6OQTp1HoHffAf1LcteUUf+CReS6LA2GmgxPjqPRd6B0F9M5r2 U+kMeymWRLgNkinmSDSeMqAU6ocdYGXs5L25xKqyBfIITu2tZKbPKGOAnZ4vv/RCqhZNa0PzNU t0Bsf3hv8BfNZao1WbXssoCig7btsFuTyVA8HRwhsDuLnL8bVBunU+a+L9LP7NbWFHnoGO+TJF huA=
- List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
On 28/01/2021 10:35, Jan Beulich wrote:
> Scrubbing can significantly delay the offlining (parking) of a CPU (e.g.
> because of booting into in smt=0 mode), to a degree that the "CPU <n>
> still not dead..." messages logged on x86 in 1s intervals can be seen
> multiple times. There are no softirqs involved in this process, so
> extend the existing preemption check in the scrubbing logic to also exit
> when the CPU is no longer observed online.
>
> Signed-off-by: Jan Beulich <jbeulich@xxxxxxxx>
Acked-by: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
|