x86-memblock-set-current-limit-to-max-low-memory-address.patch removed from -mm tree
Subject: [merged] x86-memblock-set-current-limit-to-max-low-memory-address.patch removed from -mm tree
To: [email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected]
From: [email protected]
Date: Wed, 22 Jan 2014 12:13:44 -0800
The patch titled
Subject: x86: memblock: set current limit to max low memory address
has been removed from the -mm tree. Its filename was
x86-memblock-set-current-limit-to-max-low-memory-address.patch
This patch was dropped because it was merged into mainline or a subsystem tree
------------------------------------------------------
From: Santosh Shilimkar <[email protected]>
Subject: x86: memblock: set current limit to max low memory address
The memblock current limit value is used to limit early boot memory allocations below max low memory address by default, as the kernel can access only to the low memory.
Hence, set memblock current limit value to the max mapped low memory address instead of max mapped memory address.
---
arch/x86/include/asm/page_types.h | 4 ++-- arch/x86/kernel/setup.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-)
arch/x86/include/asm/page_types.h renamed from arch/x86/include/asm/page_types.h~x86-memblock-set-current-limit-to-max-low-memory-address +2 -2
@@ -51,9 +51,9 @@ extern int devmem_is_allowed(unsigned loextern unsigned long max_low_pfn_mapped;extern unsigned long max_pfn_mapped; -static inline phys_addr_t get_max_mapped (void ) +static inline phys_addr_t get_max_low_mapped (void ) { -return (phys_addr_t )max_pfn_mapped <<PAGE_SHIFT ; +return (phys_addr_t )max_low_pfn_mapped <<PAGE_SHIFT ; }bool pfn_range_is_mapped (unsigned long start_pfn,unsigned long end_pfn);
arch/x86/kernel/setup.c renamed from arch/x86/kernel/setup.c~x86-memblock-set-current-limit-to-max-low-memory-address +1 -1
@@ -1119,7 +1119,7 @@ void __init setup_arch(char **cmdline_p)setup_real_mode (); -memblock_set_current_limit (get_max_mapped ()); +memblock_set_current_limit (get_max_low_mapped ());dma_contiguous_reserve (0 );/*
_
Patches currently in -mm which might be from [email protected] are
origin.patch
mm-nobootmem-free_all_bootmem-again.patch
linux-next.patch