[lkml]   [2004]   [Jul]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: question about ramdisk
Followup to:  <>
By author:
In newsgroup:
> 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.

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 14:04    [from the cache]
©2003-2014 Jasper Spaans. hosted at Digital Ocean