Re: question about ramdisk
From: lya755
Date: Tue Jul 13 2004 - 09:08:09 EST
Thank you! Can you pls tell me where I can find related references? I've been
looking into several books about kernel and part of the kernel code, but no
luck so far..
Thanks for any comments!
Quoting "H. Peter Anvin" <hpa@xxxxxxxxx>:
> Followup to: <1089651469.40f2c30d44364@xxxxxxxxxxxxxxxxxxxxxxxxx>
> By author: lya755@xxxxxxxxxxxxxxxxxxxx
> 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
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
>
_________________________________________________________
This message was sent through the NU ECE webmail gateway.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/