Re: How to make every page of a process in the page table present?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

"Gu, Zhongshu" <gzs715@xxxxxxxxx> writes:
> 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.

Read a byte from each page?

Why do you need such a thing?

Best regards,                                         _     _
 .o. | Liege of Serenly Enlightened Majesty of      o' \,=./ `o
 ..o | Computer Science,  Michal "mina86" Nazarewicz   (o o)
 ooo +--<>--<>--ooO--(_)--Ooo--
To unsubscribe from this list: send the line "unsubscribe linux-c-programming" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at

[Linux Assembler]     [Git]     [Kernel List]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [Yosemite Campsites]     [Yosemite News]     [GCC Help]

Add to Google Powered by Linux