From: "Gu, Zhongshu" <gzs715@gmail.com>
To: kernelnewbies@nl.linux.org, linux-c-programming@vger.kernel.org
Subject: How to make every page of a process in the page table present?
Date: Wed, 28 Jul 2010 13:49:51 -0400 [thread overview]
Message-ID: <AANLkTin8bzODztNO=qS2AAP5LULm9PSy1-c7gvN_brjw@mail.gmail.com> (raw)
Hi all:
i compiled a static program using gcc on linux and run it under kvm. I
checked every page table entry of this process in guest memory and
found that some pages have been mapped and some ones are not. Is this
the feature of on-demand paging?
My question is whether there is a solution to make all the pte present
and mapped in the page table?
E.g. i fork a new process and load a new elf binary, how to make every
page mapped in the page table of this new process.
Thanks
--
Zhongshu
next reply other threads:[~2010-07-28 17:49 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-07-28 17:49 Gu, Zhongshu [this message]
2010-07-28 20:13 ` How to make every page of a process in the page table present? Michal Nazarewicz
2010-07-29 10:23 ` Glynn Clements
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='AANLkTin8bzODztNO=qS2AAP5LULm9PSy1-c7gvN_brjw@mail.gmail.com' \
--to=gzs715@gmail.com \
--cc=kernelnewbies@nl.linux.org \
--cc=linux-c-programming@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).