linux-mips
[Top] [All Lists]

Re: Exec from Memory

To: linux-mips@linux-mips.org
Subject: Re: Exec from Memory
From: Greg Lindahl <lindahl@keyresearch.com>
Date: Tue, 18 Feb 2003 14:15:32 -0800
In-reply-to: <NDBBKEAAOJECIDBJKLIHCEOGCHAA.turcotte@broadcom.com>
Mail-followup-to: linux-mips@linux-mips.org
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <NDBBKEAAOJECIDBJKLIHCEOGCHAA.turcotte@broadcom.com>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.4i
On Tue, Feb 18, 2003 at 05:08:51PM -0500, Maurice Turcotte wrote:

> Suppose there is no file system available, since there is no disk.

You lost me, there. Linux has filesystems like /dev, /proc, and for
your current dilemma, it has some "ramdisk" filesystems which are
careful not to not make a duplicate copy of a file when you mmap it.

So you can execute code right out of that filesystem without much
extra overhead.

If you don't want to keep a copy of the entire program in RAM (some of
it might not be executed at all or only once), then NFS mount a
remotely filesystem and run it from there.

-- greg



<Prev in Thread] Current Thread [Next in Thread>