From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ozlabs.org (ozlabs.org [103.22.144.67]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 15CA31A0291 for ; Mon, 8 Feb 2016 17:01:20 +1100 (AEDT) Date: Mon, 8 Feb 2016 17:01:16 +1100 From: Paul Mackerras To: David Gibson Cc: mpe@ellerman.id.au, benh@kernel.crashing.org, linuxppc-dev@lists.ozlabs.org, aik@ozlabs.ru, thuth@redhat.com, lvivier@redhat.com Subject: Re: [RFCv2 9/9] pseries: Automatically resize HPT for memory hot add/remove Message-ID: <20160208060116.GI30807@oak.ozlabs.ibm.com> References: <1454045043-25545-1-git-send-email-david@gibson.dropbear.id.au> <1454045043-25545-10-git-send-email-david@gibson.dropbear.id.au> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: <1454045043-25545-10-git-send-email-david@gibson.dropbear.id.au> List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Fri, Jan 29, 2016 at 04:24:03PM +1100, David Gibson wrote: > We've now implemented code in the pseries platform to use the new PAPR > interface to allow resizing the hash page table (HPT) at runtime. > > This patch uses that interface to automatically attempt to resize the HPT > when memory is hot added or removed. This tries to always keep the HPT at > a reasonable size for our current memory size. > > Signed-off-by: David Gibson Reviewed-by: Paul Mackerras