Linux MIPS Architecture development
 help / color / mirror / Atom feed
From: "tiejun.chen" <tiejun.chen@windriver.com>
To: Ralf Baechle <ralf@linux-mips.org>
Cc: linux-mips@linux-mips.org
Subject: Re: [PATCH] Reserve stack/heap area for RP program
Date: Fri, 31 Oct 2008 09:42:48 +0800	[thread overview]
Message-ID: <490A6298.8080002@windriver.com> (raw)
In-Reply-To: <20081030121707.GJ26256@linux-mips.org>

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
> 

  reply	other threads:[~2008-10-31  1:42 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-30 11:15 [PATCH] Support RTC on Malta Tiejun Chen
2008-10-30 11:15 ` [PATCH] Reserve stack/heap area for RP program Tiejun Chen
2008-10-30 12:17   ` Ralf Baechle
2008-10-31  1:42     ` tiejun.chen [this message]
2008-11-03 11:18       ` tiejun.chen
2008-10-30 12:05 ` [PATCH] Support RTC on Malta Ralf Baechle
2008-10-31  6:44   ` tiejun.chen
2008-11-26  1:19   ` tiejun.chen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=490A6298.8080002@windriver.com \
    --to=tiejun.chen@windriver.com \
    --cc=linux-mips@linux-mips.org \
    --cc=ralf@linux-mips.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox