| To: | Ralf Baechle <ralf@linux-mips.org> |
|---|---|
| Subject: | Re: [PATCH] Reserve stack/heap area for RP program |
| From: | "tiejun.chen" <tiejun.chen@windriver.com> |
| Date: | Fri, 31 Oct 2008 09:42:48 +0800 |
| Cc: | linux-mips@linux-mips.org |
| In-reply-to: | <20081030121707.GJ26256@linux-mips.org> |
| Original-recipient: | rfc822;linux-mips@linux-mips.org |
| References: | <1225365345-15635-1-git-send-email-tiejun.chen@windriver.com> <1225365345-15635-2-git-send-email-tiejun.chen@windriver.com> <20081030121707.GJ26256@linux-mips.org> |
| Sender: | linux-mips-bounce@linux-mips.org |
| User-agent: | Thunderbird 2.0.0.17 (X11/20080925) |
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 > |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: [PATCH] MIPS: Check the range of the syscall number for o32 syscall on 64bit kernel., David Daney |
|---|---|
| Previous by Thread: | Re: [PATCH] Reserve stack/heap area for RP program, Ralf Baechle |
| Next by Thread: | Re: [PATCH] Support RTC on Malta, Ralf Baechle |
| Indexes: | [Date] [Thread] [Top] [All Lists] |