Received: by 2002:a05:6602:18e:0:0:0:0 with SMTP id m14csp2368976ioo; Sat, 28 May 2022 11:30:19 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzLaGVsxRohQBXRF7ppkVGzCdqfuUtKVFHCfEcuJ81KHA2YaKnKpyrjg97mtJZ6cwDB91qF X-Received: by 2002:a63:4459:0:b0:39d:3808:7c84 with SMTP id t25-20020a634459000000b0039d38087c84mr42444713pgk.130.1653762619636; Sat, 28 May 2022 11:30:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1653762619; cv=none; d=google.com; s=arc-20160816; b=AwcWm00V11+ktdnNqUtEX2Oz6iUMo3oSkv4qKsJ5lA7cxjsd/e7N6Qy/umI/SsWwFP U89rRHrnBfhMkfYSkyN20LBfGnADCYPUx9rREIYkP5pH2l357alTAT3/DEh6+OItspH+ VuXcO9zHYCxWjHJb1hzE7ctfP0UM/hL05vLIgarThv6KPGDmY4pY5Bz62MR+Sjioxx48 yfnvB0FwhO5BvBJXC6v6hQZAb2nMQkqHef6k9UFcBDtJPBpK0V9dd2P7CJSV72nHuxa5 mZbzuQ1QSoaEUQW01PwEtAls84SjU3pxAgOdiXSeCd3uvv1XT+nyn5d7azALNejbW+gY e3fQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=iZXZyOBj9K/G+WFDwIrle6dO9n3UzwXZHEEzIr/nzYk=; b=Qkqq7SwdSKh8yjJvd3/ebrDkD/oHQhfvHhu9Qa8ZMex/SjCf4Wt82jJB2Mg6GD4tkj nOAtRaTcCBW7O0XNT4x1mVGMHK0vOV0swYlBaJ/UPNMZuJ2BWtoZbsro1GAanAjW89Ge p0FvzIeanbyn9nofIBkEYyuNrRfPEYjJv/mSmVGLHy5NnfaPf4vsJbbZ24BYrulUnVTj 0B9RD4GrxIIQr6BFgYtxodX62NZio2PRxPGRxQLeyAYIz5wM33PpITRnWtkh0zNC+x39 8+M6Pjfm8lH7VGU/Hfcl/9hNQ+811g6newfh7mQFT9B9sPCzET/8wOeMhr7rw0xHqq6d r6Qw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b="EcN/9lvQ"; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id go17-20020a17090b03d100b001deb8c89766si6343027pjb.30.2022.05.28.11.30.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 28 May 2022 11:30:19 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b="EcN/9lvQ"; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 680F31DA41; Sat, 28 May 2022 11:27:56 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230295AbiEZShh (ORCPT + 99 others); Thu, 26 May 2022 14:37:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54044 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345254AbiEZShZ (ORCPT ); Thu, 26 May 2022 14:37:25 -0400 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 380DF694A5 for ; Thu, 26 May 2022 11:37:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1653590243; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=iZXZyOBj9K/G+WFDwIrle6dO9n3UzwXZHEEzIr/nzYk=; b=EcN/9lvQ2vCfiG/e2xYWoODYOQEkXUaYtUvRX8268CA1WFkXVfs8Auaql9IoYONSvGMBJ2 6mBRqFgpr/pG17PrvReBn5zLlg5IX/OcoO4i8GXSCQbuDVXT7FP6pM8DtGv6bu6c+vKTFY TgD6/kjuAvbgplcnNHYCZRAbPn5ChMU= Received: from mail-io1-f70.google.com (mail-io1-f70.google.com [209.85.166.70]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-302-Ml5Y1yKDO720KnabuZbwxg-1; Thu, 26 May 2022 14:37:22 -0400 X-MC-Unique: Ml5Y1yKDO720KnabuZbwxg-1 Received: by mail-io1-f70.google.com with SMTP id k184-20020a6bbac1000000b0065aeedd4ba8so1472312iof.20 for ; Thu, 26 May 2022 11:37:21 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=iZXZyOBj9K/G+WFDwIrle6dO9n3UzwXZHEEzIr/nzYk=; b=Qqc7th9LrvUPICPzvNwR8R2tpBP5etMFRS+IplhNBP5NBPNVWfocC/Hce1ccK9SgMu kJOACcj9Y4nGCqsbTaAJf2/6tgSSAm8LluYColEfVSkKJTVCiA7LjxrbnTHDXBJ43+s8 2iV4v4miIpjareF11+2Hbfkpah5tb3jxcJ8vCZ6umn8MfGJJocKW0BWrDkQ1atWvXR+z qAc8Z2z6s30Vp3BY/MdF0Ak4+UImmkEzSTm1NOms2/FehaNY/SZ6hT4fB5zbijFWfe// pzJVxugxQoZR/zrcchEZzRD5dl+AWkvP4HxZ3uyNhUrv3vuwHJcUC2uICzl6WvGWMiod Q44Q== X-Gm-Message-State: AOAM5305A+Wr0v+YB8fO1aSt8gemj83Y3zb8fEzer3DRA/mm1In0PGYF SA+NDyin8YeEULrr9IyJyeCoJPAeT/DfX+VUc49VDzmYCQkcM8pdzmqPH1GVnbfUfE5/Sje7JPz jzDLPFYLAgY+s8Evas2OxtlTG X-Received: by 2002:a05:6638:4901:b0:32f:d52c:924c with SMTP id cx1-20020a056638490100b0032fd52c924cmr6248112jab.8.1653590241277; Thu, 26 May 2022 11:37:21 -0700 (PDT) X-Received: by 2002:a05:6638:4901:b0:32f:d52c:924c with SMTP id cx1-20020a056638490100b0032fd52c924cmr6248102jab.8.1653590241044; Thu, 26 May 2022 11:37:21 -0700 (PDT) Received: from xz-m1.local (cpec09435e3e0ee-cmc09435e3e0ec.cpe.net.cable.rogers.com. [99.241.198.116]) by smtp.gmail.com with ESMTPSA id x89-20020a0294e2000000b0032e43cb7344sm575684jah.146.2022.05.26.11.37.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 26 May 2022 11:37:20 -0700 (PDT) Date: Thu, 26 May 2022 14:37:18 -0400 From: Peter Xu To: Jue Wang Cc: pizhenwei@bytedance.com, Andrew Morton , David Hildenbrand , jasowang@redhat.com, LKML , Linux MM , mst@redhat.com, HORIGUCHI =?utf-8?B?TkFPWUEo5aCA5Y+jIOebtOS5nyk=?= , Paolo Bonzini , qemu-devel@nongnu.org, virtualization@lists.linux-foundation.org Subject: Re: [PATCH 0/3] recover hardware corrupted page by virtio balloon Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, May 25, 2022 at 01:16:34PM -0700, Jue Wang wrote: > The hypervisor _must_ emulate poisons identified in guest physical > address space (could be transported from the source VM), this is to > prevent silent data corruption in the guest. With a paravirtual > approach like this patch series, the hypervisor can clear some of the > poisoned HVAs knowing for certain that the guest OS has isolated the > poisoned page. I wonder how much value it provides to the guest if the > guest and workload are _not_ in a pressing need for the extra KB/MB > worth of memory. I'm curious the same on how unpoisoning could help here. The reasoning behind would be great material to be mentioned in the next cover letter. Shouldn't we consider migrating serious workloads off the host already where there's a sign of more severe hardware issues, instead? Thanks, -- Peter Xu