Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp5259144ybv; Tue, 11 Feb 2020 12:11:02 -0800 (PST) X-Google-Smtp-Source: APXvYqxj9J05Sv60GbPrjPi0PJCMYdiVmekUSlx8BthdVwgmTS7pLiOWtuFlTfenyUHIeJy/PAw1 X-Received: by 2002:aca:32c3:: with SMTP id y186mr4107076oiy.114.1581451862147; Tue, 11 Feb 2020 12:11:02 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1581451862; cv=none; d=google.com; s=arc-20160816; b=OzMBvEyjwGG6bwJj2Sj2B4RQ6jYtNCznlXGHZxsHnztgu8uIAV1mKeyhJxwqvSODwF Ijp+H7vDZJz0eFs474jvX9sivAi0XuOdB8REKpmNRXrLV2ByxxVnLKfOa8F/mbD9CoSn rTEv9R4jrMrYiRNxaCsayqBMCBaU06yIDkrhXWdkl40p1hN5YPrQkPCL07aP9R+FHWDa xwADxgaUAdjkuElrvfv+mgwa2B/qmfy/UB5xCtlptmti7OXCPgK2F3/F38vyneBy6WQ5 mml5qia3zIZhPjZapTcCqy8gVOtZzGCs3GM+U/zti/lLAg55BSCpUUV6f6bmztGZhAQy cwrg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:to:in-reply-to:cc:references:message-id :date:subject:mime-version:from:content-transfer-encoding :dkim-signature; bh=+pVasLlAXrbuX/G7lTFwAzDA95FldSPgS2d9mYCqPyE=; b=bCEM2rsAVI99InbriMgveo4ndJkJKCoQ67UVo5pniT0rEZP3qyVcWlJ1dz4J6o3liW TC/K5rUN6sQzUU7wMaucnLkC8iK9vr1IkxDro2JD09Eoqn181DpefEk3aXNkHmsE8GkX fjVF1vx226aenMStDQQP5IIK3DGTZYgCI7UfXgE/3npH/O1O7Ffc2QuQ/C7ChHBU+2O8 L7ZfHNpsS7V45PNoQl/fbk3tyUYCtTi4Fcp+hXBaDXhJt8PK2Whl5OQUD4WZlhysYqRL OPlHT77Q82fuI1iw5O8dKtGlsiI0iIT5B1840QteIxfpKhvzzts9EvCfescEWRoMD0i+ uRNw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=KuG3UTL1; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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 vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p26si2313751oto.240.2020.02.11.12.10.47; Tue, 11 Feb 2020 12:11:02 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=KuG3UTL1; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728596AbgBKREf (ORCPT + 99 others); Tue, 11 Feb 2020 12:04:35 -0500 Received: from us-smtp-1.mimecast.com ([207.211.31.81]:25440 "EHLO us-smtp-delivery-1.mimecast.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1728369AbgBKREe (ORCPT ); Tue, 11 Feb 2020 12:04:34 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1581440673; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=+pVasLlAXrbuX/G7lTFwAzDA95FldSPgS2d9mYCqPyE=; b=KuG3UTL1zdh2oGpINOpXAhf4EM6NR7NDUrIeRg42jaXfO1d4A6A+QmkIU/L0t5wcWsxONJ 2R6hQWEaSF4OxwPwlr2nqsXcFRJZvKemjz8pv35e0L5M4nzpyS1upvmUrQrZDkt8kBUTwS kcYwayf2PK6T8q0q9wdi8AA+2M7+dbA= Received: from mail-wm1-f70.google.com (mail-wm1-f70.google.com [209.85.128.70]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-29-EN0lYfFzOHmffnIq9qCeHg-1; Tue, 11 Feb 2020 12:04:31 -0500 X-MC-Unique: EN0lYfFzOHmffnIq9qCeHg-1 Received: by mail-wm1-f70.google.com with SMTP id z7so1426167wmi.0 for ; Tue, 11 Feb 2020 09:04:31 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:content-transfer-encoding:from:mime-version :subject:date:message-id:references:cc:in-reply-to:to; bh=+pVasLlAXrbuX/G7lTFwAzDA95FldSPgS2d9mYCqPyE=; b=TS5uOgFe0iQZOxLdo1wyMy+4VarnSER5fKkCR6UMCYzwezYogyiGYWFsHVnvLpvBbG vdx/7TtKtZiiYVpEic7ESnbx6VND6QcIFnZUcABUEd2tyct6H8NQ60bw7r75SIrGflcR LKaqSqqusLGaBhsHvwGHvU1r4iDG/lja8OMZppKa90Oxdu9x+/E8D2SmFWZyuVx5WxXJ vCpZVD8bBMhEkcSMatY9KYBvd1MA1Gv+vcuTlz2TCCEBapmovz9rjeMmzQ2Jfl8KpN4A G5JIA/A4ug09M0+6KVrY2VqJVJY59gMuAkXv4AAN8+ZwWTk7pcS7KwHAEHgk87STt0+1 5q/w== X-Gm-Message-State: APjAAAUdZTICXyW9bpSGFsyVYrLu6s1+8GNJYsjINEHcgURaNLU98p1n HjV+6NBvNcD2vKRfLZfUUAip47EDBTCPKUjyXzxgOMW/PHnkWdNLyT31bBVPN1SJVzdjR0oy24n fMksJApbhGoxXJ8QURhjbbrlN X-Received: by 2002:a7b:c93a:: with SMTP id h26mr6919372wml.83.1581440670334; Tue, 11 Feb 2020 09:04:30 -0800 (PST) X-Received: by 2002:a7b:c93a:: with SMTP id h26mr6919325wml.83.1581440669937; Tue, 11 Feb 2020 09:04:29 -0800 (PST) Received: from [192.168.3.122] (p5B0C67DC.dip0.t-ipconnect.de. [91.12.103.220]) by smtp.gmail.com with ESMTPSA id j5sm6025280wrb.33.2020.02.11.09.04.29 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 11 Feb 2020 09:04:29 -0800 (PST) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable From: David Hildenbrand Mime-Version: 1.0 (1.0) Subject: Re: [PATCH v16.1 6/9] virtio-balloon: Add support for providing free page reports to host Date: Tue, 11 Feb 2020 18:04:28 +0100 Message-Id: References: <3a8d9e1a3a5528c3a0889448f2ffd02c186399b7.camel@linux.intel.com> Cc: David Hildenbrand , "Michael S. Tsirkin" , Alexander Duyck , kvm@vger.kernel.org, linux-kernel@vger.kernel.org, willy@infradead.org, mhocko@kernel.org, linux-mm@kvack.org, akpm@linux-foundation.org, mgorman@techsingularity.net, vbabka@suse.cz, yang.zhang.wz@gmail.com, nitesh@redhat.com, konrad.wilk@oracle.com, pagupta@redhat.com, riel@surriel.com, lcapitulino@redhat.com, dave.hansen@intel.com, wei.w.wang@intel.com, aarcange@redhat.com, pbonzini@redhat.com, dan.j.williams@intel.com, osalvador@suse.de In-Reply-To: <3a8d9e1a3a5528c3a0889448f2ffd02c186399b7.camel@linux.intel.com> To: Alexander Duyck X-Mailer: iPhone Mail (17D50) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > Am 11.02.2020 um 17:33 schrieb Alexander Duyck : >=20 > =EF=BB=BFOn Tue, 2020-02-11 at 16:13 +0100, David Hildenbrand wrote: >>>> AFAIKs, the guest could inflate/deflate (esp. temporarily) and >>>> communicate via "actual" the actual balloon size as he sees it. >>>=20 >>> OK so you want hinted but unused pages counted, and reported >>> in "actual"? That's a vmexit before each page use ... >>=20 >> No, not at all. I rather meant, that it is unclear how >> inflation/deflation requests and "actual" *could* interact. Especially >> if we would consider free page reporting as some way of inflation >> (+immediate deflation) triggered by the guest. IMHO, we would not touch >> "actual" in that case. >>=20 >> But as I said, I am totally fine with keeping it as is in this patch. >> IOW not glue free page reporting to inflation/deflation but let it act >> like something different with its own semantics (and document these >> properly). >>=20 >=20 > Okay, so before I post v17 am I leaving the virtio-balloon changes as they= > were then? I=E2=80=98d say yes :)=