[Top] [All Lists]

Re: Exec from Memory

Subject: Re: Exec from Memory
From: Greg Lindahl <>
Date: Tue, 18 Feb 2003 14:15:32 -0800
In-reply-to: <>
Original-recipient: rfc822;
References: <>
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>