[lkml]   [2002]   [Feb]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: question about running program from a RAM disk
On Thu, 28 Feb 2002, Hua Zhong wrote:

> Hi all:
> If I run a program from a RAM disk, will Linux be able to run it directly
> from
> the disk itself (as the image is already in memory), or do it the same way
> as running from a disk?
> Thanks.
> Hua

It does it the same was as from a mechanical disk. If it uses
dynamic linking, the default, the runtime libraries are
memory-mapped and shared. In a perfect system, a very large
program is not read into user's virtual address space all at
once. Page-faults bring in, or discard, pages as required.

Dick Johnson

Penguin : Linux version 2.4.1 on an i686 machine (797.90 BogoMips).

111,111,111 * 111,111,111 = 12,345,678,987,654,321

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:21    [W:0.054 / U:0.112 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site