From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-0.9 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 72CB0C3B188 for ; Tue, 11 Feb 2020 17:04:36 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 36BAA21734 for ; Tue, 11 Feb 2020 17:04:36 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="AwCS70Ll" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 36BAA21734 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=redhat.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id B70116B02FC; Tue, 11 Feb 2020 12:04:35 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id B1E946B02FD; Tue, 11 Feb 2020 12:04:35 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 9E6406B02FE; Tue, 11 Feb 2020 12:04:35 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0186.hostedemail.com [216.40.44.186]) by kanga.kvack.org (Postfix) with ESMTP id 87CDB6B02FC for ; Tue, 11 Feb 2020 12:04:35 -0500 (EST) Received: from smtpin26.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay05.hostedemail.com (Postfix) with ESMTP id D9B3F181AEF07 for ; Tue, 11 Feb 2020 17:04:34 +0000 (UTC) X-FDA: 76478470068.26.mint76_6219a8207593a X-HE-Tag: mint76_6219a8207593a X-Filterd-Recvd-Size: 5111 Received: from us-smtp-1.mimecast.com (us-smtp-delivery-1.mimecast.com [205.139.110.120]) by imf44.hostedemail.com (Postfix) with ESMTP for ; Tue, 11 Feb 2020 17:04:33 +0000 (UTC) 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=+tfpEGDBIjQHR+gQtK0jp26nvDQLQPabU13rV8s+zw0=; b=AwCS70LlmTzHKqu73jl7Wtz0RML08bFXkJRrRzN7HyHCYuFoXpUwexClbKL1dqdoR4Q8wD eoXABfMvyBmAtOmfKydDp+08/HKp4QGHF0RH80binhWGg+fw2kzgukSZwb/H3N22DW9JFl V4yfRrpWNsVh9Tit5xmxXTUr/Hs1cSY= Received: from mail-wm1-f72.google.com (mail-wm1-f72.google.com [209.85.128.72]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-416-3OO1gYUDO9GveQfqw8DfPw-1; Tue, 11 Feb 2020 12:04:31 -0500 Received: by mail-wm1-f72.google.com with SMTP id f66so1402862wmf.9 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=SBu32yvU7FTvLJG8Jp9RSL3zKCyE/KfXiufoXE7/uTmMY7NaezdyM9gUN2niGLIPwf 0gey2RvdAUJPASRqPG44bRnt64zAbOxP2HwSIGEjL93mYvk83LpcGu5AnGTJcfQL9Qza 14kOgtWgjDUGw7ZCvoI6LtVych/PBJinqDJhB0rAwo17Eolf/cZyzfpUNwK7j8vSf5Am NbJIQdcc7ku8zOY+PNzKaF0xUGVkEOTEstN68P9IA56HX1htfH+6d/tl4i3Z+CRrlyF+ wS0xohxTWYMeowzjeCu+mW2KcicOrasn4KIC4DB2jQvLEf44cnBt7bHd0YiHYj0ITE5u 9yxg== X-Gm-Message-State: APjAAAXDLR/jGMVe8W7Vq3VCX0to7n0tM/Ccid5rA0NXFblaMCtQDZre 3RwW8n3h/DI0R3lFAC/xrWCT8mI9dCPljr7RZbwGtMLHQ51qUY5rFg95noDLUvH2xkBC4y3VQnX il7fJh1giwlI= X-Received: by 2002:a7b:c93a:: with SMTP id h26mr6919384wml.83.1581440670371; Tue, 11 Feb 2020 09:04:30 -0800 (PST) X-Google-Smtp-Source: APXvYqzMCDV526/z9R5lcDc3NhDo6UURiXu+j3B53PoBthyG7X0n2lAluIm3ooAEuX99NhH29t7P0w== 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) 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) X-MC-Unique: 3OO1gYUDO9GveQfqw8DfPw-1 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: > 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 the= y > were then? I=E2=80=98d say yes :)