From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx1.suse.de (mx2.suse.de [195.135.220.15]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 71894211EABCE for ; Thu, 28 Mar 2019 07:16:34 -0700 (PDT) Date: Thu, 28 Mar 2019 15:16:31 +0100 From: Michal Hocko Subject: Re: [PATCH v5 00/10] mm: Sub-section memory hotplug support Message-ID: <20190328141631.GB7155@dhcp22.suse.cz> References: <155327387405.225273.9325594075351253804.stgit@dwillia2-desk3.amr.corp.intel.com> <20190322180532.GM32418@dhcp22.suse.cz> <20190325101945.GD9924@dhcp22.suse.cz> <20190326080408.GC28406@dhcp22.suse.cz> <20190327161306.GM11927@dhcp22.suse.cz> <9e769f3d-00f2-a8bb-2d8d-097735cb2a6d@redhat.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <9e769f3d-00f2-a8bb-2d8d-097735cb2a6d@redhat.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: linux-nvdimm-bounces@lists.01.org Sender: "Linux-nvdimm" To: David Hildenbrand Cc: linux-nvdimm , stable , Linux Kernel Mailing List , Linux MM , =?iso-8859-1?B?Suly9G1l?= Glisse , Andrew Morton , Vlastimil Babka List-ID: On Thu 28-03-19 14:38:15, David Hildenbrand wrote: > On 27.03.19 17:13, Michal Hocko wrote: [...] > > People are asking for a smaller memory hotplug granularity for other > > usecases (e.g. memory ballooning into VMs) which are quite dubious to > > be honest and not really worth all the code rework. If we are talking > > about something that can be worked around elsewhere then it is preferred > > because the code base is not in an excellent shape and putting more on > > top is just going to cause more headaches. > > At least for virtio-mem, it will be handled similar to xen-balloon and > hyper-v balloon, where whole actions are added and some parts are kept > "soft-offline". But there, one device "owns" the complete section, it > does not overlap with other devices. One section only has one owner. This is exactly what I meant by handing at a higher level. -- Michal Hocko SUSE Labs _______________________________________________ Linux-nvdimm mailing list Linux-nvdimm@lists.01.org https://lists.01.org/mailman/listinfo/linux-nvdimm 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=-2.6 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,SPF_PASS,USER_AGENT_MUTT autolearn=unavailable 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 28CA2C43381 for ; Thu, 28 Mar 2019 14:16:37 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id E14462075E for ; Thu, 28 Mar 2019 14:16:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1553782597; bh=PkqeEq4WwmfERWDYJBk7vTulq+B0vgd/JOOSLAP/RP8=; h=Date:From:To:Cc:Subject:References:In-Reply-To:List-ID:From; b=UqhsdRZ/2hSMoFnBap9Mpw+1GR5tedWv+s1YWe5VHiQarVXd8Wi+TxXXmYwfsjfjh Pazp0nIQcwpKYJQCcF0CYzBk1PTAZ/bycpDWu7MiCZqHW3jE1ta1+YNS28cJfZ7ciD JDTtGkO/TH9LKLLcoU/gon9QF5nSLCPoT/VieYVQ= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726508AbfC1OQf (ORCPT ); Thu, 28 Mar 2019 10:16:35 -0400 Received: from mx2.suse.de ([195.135.220.15]:49126 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725849AbfC1OQe (ORCPT ); Thu, 28 Mar 2019 10:16:34 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id C140EB780; Thu, 28 Mar 2019 14:16:32 +0000 (UTC) Date: Thu, 28 Mar 2019 15:16:31 +0100 From: Michal Hocko To: David Hildenbrand Cc: Dan Williams , Andrew Morton , =?iso-8859-1?B?Suly9G1l?= Glisse , Logan Gunthorpe , Toshi Kani , Jeff Moyer , Vlastimil Babka , stable , Linux MM , linux-nvdimm , Linux Kernel Mailing List Subject: Re: [PATCH v5 00/10] mm: Sub-section memory hotplug support Message-ID: <20190328141631.GB7155@dhcp22.suse.cz> References: <155327387405.225273.9325594075351253804.stgit@dwillia2-desk3.amr.corp.intel.com> <20190322180532.GM32418@dhcp22.suse.cz> <20190325101945.GD9924@dhcp22.suse.cz> <20190326080408.GC28406@dhcp22.suse.cz> <20190327161306.GM11927@dhcp22.suse.cz> <9e769f3d-00f2-a8bb-2d8d-097735cb2a6d@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <9e769f3d-00f2-a8bb-2d8d-097735cb2a6d@redhat.com> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu 28-03-19 14:38:15, David Hildenbrand wrote: > On 27.03.19 17:13, Michal Hocko wrote: [...] > > People are asking for a smaller memory hotplug granularity for other > > usecases (e.g. memory ballooning into VMs) which are quite dubious to > > be honest and not really worth all the code rework. If we are talking > > about something that can be worked around elsewhere then it is preferred > > because the code base is not in an excellent shape and putting more on > > top is just going to cause more headaches. > > At least for virtio-mem, it will be handled similar to xen-balloon and > hyper-v balloon, where whole actions are added and some parts are kept > "soft-offline". But there, one device "owns" the complete section, it > does not overlap with other devices. One section only has one owner. This is exactly what I meant by handing at a higher level. -- Michal Hocko SUSE Labs