From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Michael S. Tsirkin" Subject: Re: [PATCH v35 1/5] mm: support to get hints of free page blocks Date: Wed, 11 Jul 2018 22:36:50 +0300 Message-ID: <20180711223040-mutt-send-email-mst__31309.3163575561$1531337695$gmane$org@kernel.org> References: <1531215067-35472-1-git-send-email-wei.w.wang@intel.com> <1531215067-35472-2-git-send-email-wei.w.wang@intel.com> <5B455D50.90902@intel.com> <20180711092152.GE20050@dhcp22.suse.cz> <5B45E17D.2090205@intel.com> <20180711110949.GJ20050@dhcp22.suse.cz> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <20180711110949.GJ20050@dhcp22.suse.cz> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: virtualization-bounces@lists.linux-foundation.org Errors-To: virtualization-bounces@lists.linux-foundation.org To: Michal Hocko Cc: yang.zhang.wz@gmail.com, virtio-dev@lists.oasis-open.org, Rik van Riel , quan.xu0@gmail.com, KVM list , liliang.opensource@gmail.com, Linux Kernel Mailing List , virtualization , linux-mm , Paolo Bonzini , Andrew Morton , nilal@redhat.com, Linus Torvalds List-Id: virtualization@lists.linuxfoundation.org On Wed, Jul 11, 2018 at 01:09:49PM +0200, Michal Hocko wrote: > But let me note that I am not really convinced how this (or previous) > approach will really work in most workloads. We tend to cache heavily so > there is rarely any memory free. It might be that it's worth flushing the cache when VM is migrating. Or maybe we should implement virtio-tmem or add transcendent memory support to the balloon. -- MST