From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ozlabs.org (ozlabs.org [IPv6:2401:3900:2:1::2]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 3tHTzr4744zDrBx for ; Mon, 14 Nov 2016 23:17:28 +1100 (AEDT) In-Reply-To: <1475318516-8447-1-git-send-email-anton@ozlabs.org> To: Anton Blanchard , benh@kernel.crashing.org, paulus@samba.org, mahesh@linux.vnet.ibm.com, srikar@linux.vnet.ibm.com, hbathini@linux.vnet.ibm.com From: Michael Ellerman Cc: linuxppc-dev@lists.ozlabs.org Subject: Re: powerpc/pseries: Use H_CLEAR_HPT to clear MMU hash table during kexec Message-Id: <3tHTzq6cHlz9t2C@ozlabs.org> Date: Mon, 14 Nov 2016 23:17:27 +1100 (AEDT) List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Sat, 2016-01-10 at 10:41:56 UTC, Anton Blanchard wrote: > From: Anton Blanchard > > An hcall was recently added that does exactly what we need > during kexec - it clears the entire MMU hash table, ignoring any > VRMA mappings. > > Try it and fall back to the old method if we get a failure. > > On a POWER8 box with 5TB of memory, this reduces the time it takes to > kexec a new kernel from from 4 minutes to 1 minute. > > Signed-off-by: Anton Blanchard Applied to powerpc next, thanks. https://git.kernel.org/powerpc/c/5246adec59458b5d325b8e1462ea9e cheers