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 ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 3vClL274cSzDqBl for ; Wed, 1 Feb 2017 12:05:30 +1100 (AEDT) In-Reply-To: <1484593666-8001-2-git-send-email-arbab@linux.vnet.ibm.com> To: Reza Arbab , Benjamin Herrenschmidt , Paul Mackerras From: Michael Ellerman Cc: Alistair Popple , linuxppc-dev@lists.ozlabs.org, "Aneesh Kumar K.V" Subject: Re: [v5,1/4] powerpc/mm: refactor radix physical page mapping Message-Id: <3vClL253XTz9t2G@ozlabs.org> Date: Wed, 1 Feb 2017 12:05:30 +1100 (AEDT) List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Mon, 2017-01-16 at 19:07:43 UTC, Reza Arbab wrote: > Move the page mapping code in radix_init_pgtable() into a separate > function that will also be used for memory hotplug. > > The current goto loop progressively decreases its mapping size as it > covers the tail of a range whose end is unaligned. Change this to a for > loop which can do the same for both ends of the range. > > Signed-off-by: Reza Arbab Series applied to powerpc next, thanks. https://git.kernel.org/powerpc/c/b5200ec9edf038459619fce9988842 cheers