This is my define, what value I must give to TASK_UNMAPPED_BASE if I
configure virtual memory as 2G/2G? thanks!
#define PAGE_OFFSET UL(CONFIG_PAGE_OFFSET)
#define TASK_SIZE (UL(CONFIG_PAGE_OFFSET) -
UL(0x0100))
#define TASK_UNMAPPED_BASE (UL(CONFIG_PAGE_OFFSET)
This is my define, what value I must give to TASK_UNMAPPED_BASE ?
thanks!
#define PAGE_OFFSET UL(CONFIG_PAGE_OFFSET)
#define TASK_SIZE (UL(CONFIG_PAGE_OFFSET) -
UL(0x0100))
#define TASK_UNMAPPED_BASE (UL(CONFIG_PAGE_OFFSET) / 3)
Subramani Venkatesh wrote:
> if
No, where is the Base heap address int the kernel set ? and why need change it
?
--
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-porting
if you do not change these address, you will have problems heap
address which grows from top to bottom, however this is used for
dynamic memory management in application, check TASK_UNMAPPED_BASE in
your architecture..
2010/7/22 wjyhbnu :
>
> No, where is the Base heap address int the kernel set ?
Have you changed Base heap address in the kernel?
-Subbu
On Thu, Jul 22, 2010 at 5:31 PM, wjydlut wrote:
> When I configure Linux kernel with
>
> --Kernel Features
> ---Memory split (3G/1G user/kernel split)
>
> The Android can boot proper.
>
> But if I configure Linux kernel with
> --Kernel
When I configure Linux kernel with
--Kernel Features
---Memory split (3G/1G user/kernel split)
The Android can boot proper.
But if I configure Linux kernel with
--Kernel Features
---Memory split (2G/2G user/kernel split)
The Android boot failed with the following logs and restart.
[