Loading arch/arm/Kconfig +1 −1 Original line number Diff line number Diff line Loading @@ -1781,7 +1781,7 @@ source "mm/Kconfig" choice prompt "Virtual Memory Reclaim" default NO_VM_RECLAIM default ENABLE_VMALLOC_SAVING help Select the method of reclaiming virtual memory Loading arch/arm/mm/mmu.c +3 −2 Original line number Diff line number Diff line Loading @@ -1158,6 +1158,9 @@ void __init adjust_lowmem_bounds(void) u64 vmalloc_limit; struct memblock_region *reg; phys_addr_t lowmem_limit = 0; #ifdef CONFIG_ENABLE_VMALLOC_SAVING struct memblock_region *prev_reg = NULL; #endif /* * Let's use our own (unoptimized) equivalent of __pa() that is Loading @@ -1169,8 +1172,6 @@ void __init adjust_lowmem_bounds(void) vmalloc_limit = (u64)(uintptr_t)vmalloc_min - PAGE_OFFSET + PHYS_OFFSET; #ifdef CONFIG_ENABLE_VMALLOC_SAVING struct memblock_region *prev_reg = NULL; for_each_memblock(memory, reg) { if (prev_reg == NULL) { prev_reg = reg; Loading Loading
arch/arm/Kconfig +1 −1 Original line number Diff line number Diff line Loading @@ -1781,7 +1781,7 @@ source "mm/Kconfig" choice prompt "Virtual Memory Reclaim" default NO_VM_RECLAIM default ENABLE_VMALLOC_SAVING help Select the method of reclaiming virtual memory Loading
arch/arm/mm/mmu.c +3 −2 Original line number Diff line number Diff line Loading @@ -1158,6 +1158,9 @@ void __init adjust_lowmem_bounds(void) u64 vmalloc_limit; struct memblock_region *reg; phys_addr_t lowmem_limit = 0; #ifdef CONFIG_ENABLE_VMALLOC_SAVING struct memblock_region *prev_reg = NULL; #endif /* * Let's use our own (unoptimized) equivalent of __pa() that is Loading @@ -1169,8 +1172,6 @@ void __init adjust_lowmem_bounds(void) vmalloc_limit = (u64)(uintptr_t)vmalloc_min - PAGE_OFFSET + PHYS_OFFSET; #ifdef CONFIG_ENABLE_VMALLOC_SAVING struct memblock_region *prev_reg = NULL; for_each_memblock(memory, reg) { if (prev_reg == NULL) { prev_reg = reg; Loading