All of lore.kernel.org
 help / color / mirror / Atom feed
From: hpa@zytor.com (H. Peter Anvin)
To: linux-kernel@vger.kernel.org
Subject: Re: question about ramdisk
Date: Mon, 12 Jul 2004 17:13:02 +0000 (UTC)	[thread overview]
Message-ID: <ccugqu$tun$1@terminus.zytor.com> (raw)
In-Reply-To: 1089651469.40f2c30d44364@core.ece.northwestern.edu

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

  reply	other threads:[~2004-07-12 17:13 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-07-12 16:57 question about ramdisk lya755
2004-07-12 17:13 ` H. Peter Anvin [this message]
2004-07-13 14:01   ` lya755
2004-07-13 20:06     ` Lee Revell
2004-07-13 21:27       ` Lee Revell
     [not found]       ` <1089753034.40f44fca074c2@core.ece.northwestern.edu>
     [not found]         ` <1089753955.22175.8.camel@mindpipe>
2004-07-14 14:59           ` lya755
2004-07-14 16:07             ` Richard B. Johnson
2004-07-14 16:30               ` lya755
2004-07-14 16:57                 ` Richard B. Johnson
  -- strict thread matches above, loose matches on Subject: below --
2003-09-29 14:07 Question " Christophe.LINDHEIMER

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='ccugqu$tun$1@terminus.zytor.com' \
    --to=hpa@zytor.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.