Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp1071630ybi; Tue, 16 Jul 2019 09:13:48 -0700 (PDT) X-Google-Smtp-Source: APXvYqyyuzKGwSE/7a8GwUVynzeCODVVBZgwRxQj620bY/pXPLpQE3jrqLx2X1R66vdoQi0XJDxa X-Received: by 2002:a65:68c9:: with SMTP id k9mr3192264pgt.17.1563293627988; Tue, 16 Jul 2019 09:13:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1563293627; cv=none; d=google.com; s=arc-20160816; b=Wh+/EHEvgcehXP55svoms9ckvPcisuxXd3u9oy/IJKTA2RogVmzU7SyDJFvlQNFkSl G4Yz6dZuS1ogWefVl13KUWNYFfcw6ONJtBH6nyJC719a1A26CkouHPFko67fl3zp0QRS EYQ+ycHU7KHwF8p/MsRJP6nhxzAHWtD0DzIJ4zP9WUf/q2+cHFGwJcygiFzJaP6KyxEu TQEXdqAKXXNjtOf7c43s67OCsvG6KHU+RZNGc0EdcXl0OnShlvQKP8rrJ9az00TJ+Jpk ZvbD/TAcEzuuhvWaN3hC05dAB5YtdmylBjjQ4bLfPS67MQ7lboAQzCHP+mMGfyllAuM4 IcnQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=FaRY9REk0dNOyBUpXX2UovVXh7myfxnWc78AJyJvbSM=; b=YAH69dZH25b+DC9MKrIzghNafbN0R0SgTcGyoOLIAqSf9EKiaAvb94E8+mwAnBTooL 2msCxurGdd9/2tdWgHiffbYT89I0RCwTpiToikczMi+A3MPxvHMVoobWeMCr65A7Xys+ sf/NeJz4Bsrmyv0rG31slVOsvjZz7/7cD+TJObrW9a9npVeXIm6W3YjDIogQr5KFMXju Q8MUI/WNMydHv4oj4yJhp93pcUW5SRbKsZc8tRJvZhLdizlyzU7bBKqW7nveQBcdb56C uM/uHkNuh7pys9La+bYzKNo2foHV7aaauV66lF9a8dinjUuRbULyHyoma+e3cHsmREPS Zz4g== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (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 i68si19128637plb.13.2019.07.16.09.13.30; Tue, 16 Jul 2019 09:13:47 -0700 (PDT) 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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730452AbfGPQNL (ORCPT + 99 others); Tue, 16 Jul 2019 12:13:11 -0400 Received: from mx1.redhat.com ([209.132.183.28]:45230 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728004AbfGPQNL (ORCPT ); Tue, 16 Jul 2019 12:13:11 -0400 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 98E3481F31; Tue, 16 Jul 2019 16:13:10 +0000 (UTC) Received: from redhat.com (ovpn-122-108.rdu2.redhat.com [10.10.122.108]) by smtp.corp.redhat.com (Postfix) with SMTP id 8E7D86012C; Tue, 16 Jul 2019 16:12:57 +0000 (UTC) Date: Tue, 16 Jul 2019 12:12:56 -0400 From: "Michael S. Tsirkin" To: "Wang, Wei W" Cc: "Hansen, Dave" , David Hildenbrand , Alexander Duyck , "nitesh@redhat.com" , "kvm@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "linux-mm@kvack.org" , "akpm@linux-foundation.org" , "yang.zhang.wz@gmail.com" , "pagupta@redhat.com" , "riel@surriel.com" , "konrad.wilk@oracle.com" , "lcapitulino@redhat.com" , "aarcange@redhat.com" , "pbonzini@redhat.com" , "Williams, Dan J" , "alexander.h.duyck@linux.intel.com" Subject: Re: [PATCH v1 6/6] virtio-balloon: Add support for aerating memory via hinting Message-ID: <20190716120839-mutt-send-email-mst@kernel.org> References: <20190619222922.1231.27432.stgit@localhost.localdomain> <20190619223338.1231.52537.stgit@localhost.localdomain> <20190716055017-mutt-send-email-mst@kernel.org> <3f8b2a76-b2ce-fb73-13d4-22a33fc1eb17@redhat.com> <286AC319A985734F985F78AFA26841F73E16AB21@shsmsx102.ccr.corp.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <286AC319A985734F985F78AFA26841F73E16AB21@shsmsx102.ccr.corp.intel.com> X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.25]); Tue, 16 Jul 2019 16:13:11 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jul 16, 2019 at 03:01:52PM +0000, Wang, Wei W wrote: > On Tuesday, July 16, 2019 10:41 PM, Hansen, Dave wrote: > > Where is the page allocator integration? The set you linked to has 5 patches, > > but only 4 were merged. This one is missing: > > > > https://lore.kernel.org/patchwork/patch/961038/ > > For some reason, we used the regular page allocation to get pages > from the free list at that stage. This is what Linus suggested, that is why: https://lkml.org/lkml/2018/6/27/461 and https://lkml.org/lkml/2018/7/11/795 See also https://lkml.org/lkml/2018/7/10/1157 for some failed attempts to upstream mm core changes related to this. > This part could be improved by Alex > or Nitesh's approach. > > The page address transmission from the balloon driver to the host > device could reuse what's upstreamed there. I think you could add a > new VIRTIO_BALLOON_CMD_xx for your usages. > > Best, > Wei