Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp1405224ybv; Thu, 6 Feb 2020 03:31:42 -0800 (PST) X-Google-Smtp-Source: APXvYqxeJDxyssvC+iKV4/bWwBJw5dd9WRh5VeAISo7vLsJkcqMgLcvhHYJPE5cFKy9LF6WOY17g X-Received: by 2002:aca:f0b:: with SMTP id 11mr6728965oip.34.1580988701921; Thu, 06 Feb 2020 03:31:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1580988701; cv=none; d=google.com; s=arc-20160816; b=z4bBJWsfWpP+i3+DXnaaOcvP/4z9X9OOPRcT3b0UsiPT1nYGCajcj7cwXQzTn9hj7n c3w7Uuhsv2jvR735E9LlvXPQw7gsH7InIL3eJN5MjaBUIGOcLonyoeDdURO6WBRVOv8/ elaZj/oCJ13sPHGvvcFlhVeUWKYVh8A9pMtyDMbg+R0D9BpGGaKJPr4n/q5uOAT88Lge IeoC3pQyEIIWzq2GFAALdLuuB4oWG1mZ5GkLLvZ6j+A1utgh1rUQ5foj3n9+X6PMqge9 Yz3tKis2QqTbrUPGJM0FNuB+IQGCYNv1/iWrp6ix4PFyY3HvZZP7uZQGyuDcIR9s6XNE Pd3Q== 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 :dkim-signature; bh=5piNXc1fMT29Zpv4Z7TyeSYOjlJ928bleKih104+/Vg=; b=ow+sj8387XPNenimmCb0hQNLIy/hSiiv0qLGLsu+cs5yXkfhlzjFTqcAWH3hdNXwd4 NQekCVopk6ogWcS1xCRshkzrWxRcvmXOnqkmfCXCQfdMsemsuRI6OH1MyA2ATcrXHU2/ ESQ7ZXnEm4S39+sHRkYUDp/zPb48pQ/uzLqeNHHjHeI5IaedSKlwhKJxFhw9e1wurHcM 3t9KbJ6B/kNMkOjsPJintV875OHA94y7garHTYeMA2lK2+GanUrsNEmZiqOsyMIHM6wO h7oF9QaNtfXCXnfbcXWK/s4ksSqtsJ3hNickXBXAi31kjwuFOnur/t7xIZCWX1XfkJrS ciAQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=UBRy7ulQ; 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 u1si1686802otg.113.2020.02.06.03.31.29; Thu, 06 Feb 2020 03:31:41 -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=UBRy7ulQ; 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 S1727491AbgBFL0p (ORCPT + 99 others); Thu, 6 Feb 2020 06:26:45 -0500 Received: from us-smtp-2.mimecast.com ([207.211.31.81]:22968 "EHLO us-smtp-delivery-1.mimecast.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726687AbgBFL0p (ORCPT ); Thu, 6 Feb 2020 06:26:45 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1580988403; 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=5piNXc1fMT29Zpv4Z7TyeSYOjlJ928bleKih104+/Vg=; b=UBRy7ulQ06UGkmM+jakhjLKna+KOi4UO3Olz0AT5rWGUfTUipfucm83GK5uZaruHqrVTJ0 N53LinAgRSN6kL1MeHduSctPQ1oW1h+uCQ8mNcSXLcI2vhXQFr2hCZjb+h942k1wC9CWpc IAMXJjJO6qCvBD3tDBkrGa25r+U4wCU= Received: from mail-qt1-f197.google.com (mail-qt1-f197.google.com [209.85.160.197]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-385-Vx9_9YUKPcKMYpoeYHZb1w-1; Thu, 06 Feb 2020 06:26:42 -0500 X-MC-Unique: Vx9_9YUKPcKMYpoeYHZb1w-1 Received: by mail-qt1-f197.google.com with SMTP id r9so3611436qtc.4 for ; Thu, 06 Feb 2020 03:26:42 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=5piNXc1fMT29Zpv4Z7TyeSYOjlJ928bleKih104+/Vg=; b=YUc1S1V1mWf9rm6SoUwe/SI3/nP4A7Doiz32C49KiuufkgFyymXDBgny0JvNiEpjyw /4wmxR1Yl2mQl+c+vp1KGwZS4KgWyHo2ROQnX2XqzXWIDaKZhXeyCApBTLGYhglLGwQt r2GsQsHvlaCK0PH9zxDFYnYuqRLOEHSvPvQR67vOo9R7lHqo24cIv6D5huS7QXe2Iog+ cdqDZwwxH29unrnnYG8Vb03mU+X8bn2dfgy6O97eT1px6ykMYZE0pOlR/cVargmZNfJH E5CSkicrTeEcXK/81tHHMt1gnAEsAGqt8KG36jV1dfnLvu2ddJGC9l4i+Pw8kJURMLd+ fLdQ== X-Gm-Message-State: APjAAAURMarFLBUyUjbAK1Fe3i9CMLzDZTdY2DmT2RDNUoOSE3qxOn1y ItZT43Gf79ZWR5YxRTDQIm/l1//QSBNUf71UNEgu+AoWGzb1F7maElj+x2s9ib/hNqTTRIWL6IT rPh9nEJvQ3Y5oElRvF1AT9HzQ X-Received: by 2002:ad4:4434:: with SMTP id e20mr1838484qvt.157.1580988401904; Thu, 06 Feb 2020 03:26:41 -0800 (PST) X-Received: by 2002:ad4:4434:: with SMTP id e20mr1838467qvt.157.1580988401685; Thu, 06 Feb 2020 03:26:41 -0800 (PST) Received: from redhat.com (bzq-79-176-41-183.red.bezeqint.net. [79.176.41.183]) by smtp.gmail.com with ESMTPSA id b24sm1422245qto.71.2020.02.06.03.26.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 06 Feb 2020 03:26:40 -0800 (PST) Date: Thu, 6 Feb 2020 06:26:35 -0500 From: "Michael S. Tsirkin" To: "Wang, Wei W" Cc: "linux-kernel@vger.kernel.org" , "virtualization@lists.linux-foundation.org" , "tysand@google.com" , "david@redhat.com" , "alexander.h.duyck@linux.intel.com" , "rientjes@google.com" , "mhocko@kernel.org" , "namit@vmware.com" , "penguin-kernel@i-love.sakura.ne.jp" Subject: Re: [PATCH RFC] virtio_balloon: conservative balloon page shrinking Message-ID: <20200206062558-mutt-send-email-mst@kernel.org> References: <1580976107-16013-1-git-send-email-wei.w.wang@intel.com> <20200206035749-mutt-send-email-mst@kernel.org> <286AC319A985734F985F78AFA26841F73E4238A5@shsmsx102.ccr.corp.intel.com> <20200206042824-mutt-send-email-mst@kernel.org> <286AC319A985734F985F78AFA26841F73E42395B@shsmsx102.ccr.corp.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <286AC319A985734F985F78AFA26841F73E42395B@shsmsx102.ccr.corp.intel.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Feb 06, 2020 at 09:43:10AM +0000, Wang, Wei W wrote: > On Thursday, February 6, 2020 5:31 PM, Michael S. Tsirkin wrote: > > > > How about just making this a last resort thing to be compatible with existing > > hypervisors? if someone wants to change behaviour that really should use a > > feature bit ... > > Yeah, sounds good to me to control via feature bits. > > Best, > Wei To clarify, shrinker use could be a feature bit. OOM behaviour was there for years and has been used to dynamically size guests. -- MST