Re: [PATCH] Reserve stack/heap area for RP program

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Ralf Baechle wrote:
> On Thu, Oct 30, 2008 at 07:15:45PM +0800, Tiejun Chen wrote:
> 
>> When you want to run a program on RP it's necessary to reserve
>> corresponding stack/heap area of that program.
> 
> The official method is to pass a mem= argument when booting the kernel and
> adjust by the amount required.  Which certainly is more flexible than
> having to hack a constant deeply hidden in the kernel code as in your
> proposed patch.
> 

This issue is not related to pass "mem= " if enable CONFIG_MIPS_VPE_LOADER_TOM.
That way is only load RP on the hidden memory to run. Anyway we still not
reserve necessary memory for stack/heap of RP which may be overwrite by AP such
as linux so you will found kernel crash.

>   Ralf
> 



[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux