Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp6569001ybi; Wed, 31 Jul 2019 17:11:14 -0700 (PDT) X-Google-Smtp-Source: APXvYqz7tj+O0reCpnDSfbvPPP41aBKehpq9Fx/U6zB53FHVuAwadR2nduZWIpBFugBvkuPHRM6B X-Received: by 2002:a17:90b:8d8:: with SMTP id ds24mr5305197pjb.135.1564618274709; Wed, 31 Jul 2019 17:11:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1564618274; cv=none; d=google.com; s=arc-20160816; b=VhtFgqXhuvVy7aucaa5sSXC3EtIEHRqBa7CZmiHyY/VYm6r0rrbDdmMg/PxiJuRztX zyAQ+V/D269XU1hySnGFBVPC8prWGJmMGxVsQ9ZGdWdWh6C5xsBG0zl9WEgOh7fRSnUd 4/zGLjXJ9YICtNUOo+4jcU/t7b97NHGAnW4TKgIfT5kRsnWK8tEiaC/pisaBh/Cp4vdI YMCy4g/uui8dap4WlwZ1FjZy59mxb4IL+oXApksc4uTiA08ffT+KrzeAIRK9gtUT5Y/l PC66nVGLMUFRJ/MDL8Sw1DTIPYvwnm8WbXYdLIkpHVvnFSk5Kuf98iHaRj4+mwgfd5dm uPfA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:date:cc:to:from:subject :message-id:dkim-signature; bh=049t7JxvZTTTjSKZ1poKKugPV6OSOy/7hb4LReWg88o=; b=rqQwf7Ox1qtGr5bJ0qXTDMBNEA03dDRFLCT1nHDdIHua3vjYk75tEfPgz348Vfxpve fAkNYWgN9QFRqMN5J0OIyV5z95b5ljpNNd9CeTsI2bgv9jkAolAw4s5ZUJ7daZ99zNt9 q7I5vH+pApRopv9UZb8cHW2l7rYpiv3b/IowfI2AMwuf6vU9261d6XsFoZag2ytbv6fG StsJaMTEtb37WPOiaZ3l75J2NGSjUA1FBGd9JrCsB6r3qOR6HnsP/b19UKPNSU2A1joH VUcZkz4nXCw4vc1mjj3RDVf9o/59zEQ/8Sp9pITqwdPUKA3eVZwTI/f5mH2SlePyR77a bsrg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=uwHmDfLq; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 64si30479294plk.36.2019.07.31.17.10.59; Wed, 31 Jul 2019 17:11:14 -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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=uwHmDfLq; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729437AbfGaXGs (ORCPT + 99 others); Wed, 31 Jul 2019 19:06:48 -0400 Received: from mail-pg1-f196.google.com ([209.85.215.196]:45978 "EHLO mail-pg1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725793AbfGaXGr (ORCPT ); Wed, 31 Jul 2019 19:06:47 -0400 Received: by mail-pg1-f196.google.com with SMTP id o13so32798537pgp.12 for ; Wed, 31 Jul 2019 16:06:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=message-id:subject:from:to:cc:date:in-reply-to:references :user-agent:mime-version:content-transfer-encoding; bh=049t7JxvZTTTjSKZ1poKKugPV6OSOy/7hb4LReWg88o=; b=uwHmDfLq0KdRRrIpXBZ7eh2E2Di7CZCsc7Q4ENgQh9pTHk3z1+zjKf7oTZBOymsGIS mnqtFBhdLcW/vLb9BKhOsF1r8tKUhH2SZyNqHdaOOW4EhxFLBdByJFXqYtU3rct1sR8x DQ4pUSojQb0BZPBAzWpkCE8DfLkjinN+3dMTHyT3vVnRNHra0YbWT/Gfw69nX8iJwdAi Lseiy9WWaE54CJg+RUrgeDBd7td8wHWw3TPatkiaa6sOTqPXRZqBLfjOGpLkCJMfxHJm RnJ2r6c81O9ZleTk+YaUC2O/dZPpRL18733LECbGGYlK9s72ycaGCqYaL4b1Gc0DEXYt w3Ng== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:subject:from:to:cc:date:in-reply-to :references:user-agent:mime-version:content-transfer-encoding; bh=049t7JxvZTTTjSKZ1poKKugPV6OSOy/7hb4LReWg88o=; b=P744u7Z1ABeaeuD/aAEjzTSU5ptREsuilasVpvKPxBL2WskJIsr8sPEdh9RSuuUj+o Fyo4ITWqLhWfg/Z9r375Wjk4SuMKi3LeLDdL1DUdfmXfgtqe8WO+dS+g5dH16SCCz8ey tGZt+fa5VmG7HiVBZb1ME/hbqgG5Bu8+fDKRUoyiAaNjiJIlVKN6s5+7zWq9hbV/wEil aALG0tXRlqyAeuXVQ5oZSNVfornjvSVoQM+uOQApnbjZA7AjdSKFP4F6HGs8UsJDqw+L HzsqMnIGGbj435Er/fOXUPX3XYgGReczNPHe/iXLVxyQ/hlygeL14w2+0m+3PYztEcP9 pgKg== X-Gm-Message-State: APjAAAXpFJGudcz4It5vDNKhA+fvdiXHt7mTNcaawjzjCCN18L6/5iML wdR3szuXygJwArLa8Ubr6v+D7z+z X-Received: by 2002:a62:f20b:: with SMTP id m11mr50144512pfh.125.1564614407259; Wed, 31 Jul 2019 16:06:47 -0700 (PDT) Received: from rashmica.ozlabs.ibm.com ([122.99.82.10]) by smtp.googlemail.com with ESMTPSA id p187sm110668968pfg.89.2019.07.31.16.06.43 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Wed, 31 Jul 2019 16:06:46 -0700 (PDT) Message-ID: <4ddee0dd719abd50350f997b8089fa26f6004c0c.camel@gmail.com> Subject: Re: [PATCH v2 0/5] Allocate memmap from hotadded memory From: Rashmica Gupta To: Michal Hocko Cc: Oscar Salvador , David Hildenbrand , Andrew Morton , Dan Williams , pasha.tatashin@soleen.com, Jonathan.Cameron@huawei.com, anshuman.khandual@arm.com, Vlastimil Babka , linux-mm@kvack.org, linux-kernel@vger.kernel.org Date: Thu, 01 Aug 2019 09:06:40 +1000 In-Reply-To: <20190731120859.GJ9330@dhcp22.suse.cz> References: <20190625075227.15193-1-osalvador@suse.de> <2ebfbd36-11bd-9576-e373-2964c458185b@redhat.com> <20190626080249.GA30863@linux> <2750c11a-524d-b248-060c-49e6b3eb8975@redhat.com> <20190626081516.GC30863@linux> <887b902e-063d-a857-d472-f6f69d954378@redhat.com> <9143f64391d11aa0f1988e78be9de7ff56e4b30b.camel@gmail.com> <20190702074806.GA26836@linux> <20190731120859.GJ9330@dhcp22.suse.cz> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.30.5 (3.30.5-1.fc29) MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 2019-07-31 at 14:08 +0200, Michal Hocko wrote: > On Tue 02-07-19 18:52:01, Rashmica Gupta wrote: > [...] > > > 2) Why it was designed, what is the goal of the interface? > > > 3) When it is supposed to be used? > > > > > > > > There is a hardware debugging facility (htm) on some power chips. > > To use > > this you need a contiguous portion of memory for the output to be > > dumped > > to - and we obviously don't want this memory to be simultaneously > > used by > > the kernel. > > How much memory are we talking about here? Just curious. From what I've seen a couple of GB per node, so maybe 2-10GB total.