From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail-pg1-x52f.google.com ([2607:f8b0:4864:20::52f]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gciNz-0008Tx-O2 for kexec@lists.infradead.org; Fri, 28 Dec 2018 03:00:33 +0000 Received: by mail-pg1-x52f.google.com with SMTP id w7so9481492pgp.13 for ; Thu, 27 Dec 2018 19:00:20 -0800 (PST) From: Pingfan Liu Subject: [PATCHv3 0/2] mm/memblock: reuse memblock bottom-up allocation style Date: Fri, 28 Dec 2018 11:00:00 +0800 Message-Id: <1545966002-3075-1-git-send-email-kernelfans@gmail.com> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "kexec" Errors-To: kexec-bounces+dwmw2=infradead.org@lists.infradead.org To: linux-acpi@vger.kernel.org, linux-mm@kvack.org, kexec@lists.infradead.org Cc: Stefan Agner , Michal Hocko , linux-kernel@vger.kernel.org, Baoquan He , Jonathan Corbet , Mathieu Malaterre , Daniel Vacek , "Rafael J. Wysocki" , Pavel Tatashin , Pingfan Liu , Tang Chen , Mike Rapoport , yinghai@kernel.org, Nicholas Piggin , Yaowei Bai , Andrew Morton , Dave Young , Naoya Horiguchi , vgoyal@redhat.com, Len Brown The bottom-up allocation style is introduced to cope with movable_node, where the limit inferior of allocation starts from kernel's end, due to lack of knowledge of memory hotplug info at this early time. Beside this original aim, 'kexec -c' prefers to reuse this style to alloc mem at lower address, since if the reserved region is beyond 4G, then it requires extra mem (default is 16M) for swiotlb. But at this time hotplug info has been got, the limit inferior can be extend to 0, which is done by this series Cc: Tang Chen Cc: "Rafael J. Wysocki" Cc: Len Brown Cc: Andrew Morton Cc: Mike Rapoport Cc: Michal Hocko Cc: Jonathan Corbet Cc: Yaowei Bai Cc: Pavel Tatashin Cc: Nicholas Piggin Cc: Naoya Horiguchi Cc: Daniel Vacek Cc: Mathieu Malaterre Cc: Stefan Agner Cc: Dave Young Cc: Baoquan He Cc: yinghai@kernel.org, Cc: vgoyal@redhat.com Cc: linux-kernel@vger.kernel.org Pingfan Liu (2): mm/memblock: extend the limit inferior of bottom-up after parsing hotplug attr x86/kdump: bugfix, make the behavior of crashkernel=X consistent with kaslr arch/x86/kernel/setup.c | 9 +++++--- drivers/acpi/numa.c | 4 ++++ include/linux/memblock.h | 1 + mm/memblock.c | 58 +++++++++++++++++++++++++++++------------------- 4 files changed, 46 insertions(+), 26 deletions(-) -- 2.7.4 _______________________________________________ kexec mailing list kexec@lists.infradead.org http://lists.infradead.org/mailman/listinfo/kexec