PD#SWPL-8572
Problem:
To avoid vmalloc address space not enough caused by binder, in
following change we have increased 128mb vmalloc address space:
http://scgit.amlogic.com:8080/#/c/72977/
Solution:
Since we have back porting binder optimize from kernel 4.19 in
change:
http://scgit.amlogic.com:8080/#/c/73975/
So we can restore 240mb memory space for vmalloc
Verify:
x301
Change-Id: If16e83eadb9ab40bb7e0e2ca168dc604420cdac7
Signed-off-by: Tao Zeng <tao.zeng@amlogic.com>
default PHYS_OFFSET if !MMU
default 0x40000000 if VMSPLIT_1G
default 0x80000000 if VMSPLIT_2G
- default 0xB8000000 if VMSPLIT_3G_OPT
+ default 0xB0000000 if VMSPLIT_3G_OPT
default 0xD0000000 if AMLOGIC_KASAN32
default 0xC0000000
CONFIG_PCIE_DW_PLAT=y
CONFIG_SMP=y
CONFIG_SCHED_MC=y
-CONFIG_VMSPLIT_3G_OPT=y
CONFIG_NR_CPUS=8
CONFIG_PREEMPT=y
CONFIG_HZ_250=y
#endif
#ifndef CONFIG_AMLOGIC_KASAN32
-#ifdef CONFIG_AMLOGIC_MODIFY
-static void * __initdata vmalloc_min =
- (void *)(VMALLOC_END - (368 << 20) - VMALLOC_OFFSET);
-#else
static void * __initdata vmalloc_min =
(void *)(VMALLOC_END - (240 << 20) - VMALLOC_OFFSET);
-#endif
/*
* vmalloc=size forces the vmalloc area to be exactly 'size'