Re: question about ramdisk

H. Peter Anvin
2004-07-12T17:13:28Z

Followup to: <1089651469.40f2c30d44364@core.ece.northwestern.edu>
By author: lya755@ece.northwestern.edu
In newsgroup: linux.dev.kernel
>
> Hi all,
>
> I am learning linux kernel and have a question about ramdisk. When loading an
> executable in ramdisk, is the kernel loading the code all at a time to memory
> and then execute, or is it loading only a page at one time and generating a
> page fault to fetch another page?
>
> Thanks for any comments! Waiting desprately for your help.
>

Neither. The code is already in RAM. It's mapped into the process
address space and run in place.

-hpa