[Top] [All Lists]

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

To: "tiejun.chen" <>
Subject: Re: [PATCH] Reserve stack/heap area for RP program
From: "tiejun.chen" <>
Date: Mon, 03 Nov 2008 19:18:16 +0800
Cc: Ralf Baechle <>,
In-reply-to: <>
Original-recipient: rfc822;
References: <> <> <> <>
User-agent: Thunderbird (X11/20080925)
tiejun.chen wrote:
> 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 
> 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.


Can you give me some suggestions?

Best Regards

>>   Ralf

<Prev in Thread] Current Thread [Next in Thread>
  • Re: [PATCH] Reserve stack/heap area for RP program, tiejun.chen <=