linux-c-programming.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* How to make every page of a process in the page table present?
@ 2010-07-28 17:49 Gu, Zhongshu
  2010-07-28 20:13 ` Michal Nazarewicz
  2010-07-29 10:23 ` Glynn Clements
  0 siblings, 2 replies; 3+ messages in thread
From: Gu, Zhongshu @ 2010-07-28 17:49 UTC (permalink / raw)
  To: kernelnewbies, linux-c-programming

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-07-29 10:23 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-07-28 17:49 How to make every page of a process in the page table present? Gu, Zhongshu
2010-07-28 20:13 ` Michal Nazarewicz
2010-07-29 10:23 ` Glynn Clements

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).