Skip to contentSkip to conversation

page_info structure in Xen

DISCUSSION Carol Gao 1 participant 1 message Aug 9, 2006 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

Carol Gao

author
#1 lore raw
Quoted 6 lines
Quoted 3 lines

In the file xen/include/asm-x86/mm.h, a "page_info" structure is defined. I am wondering when the PGT_type is set to be PGT_none and when it is set to be PGT_writable_page?

It is set to PGT_writable_page when any guest has a writable mapping of that page. If the page is read only then it has type PGT_none.

Thanks for the reply.

When the guest loads the executable object's or library's text section into its pagecache, will the page_info be PGT_none or PGT_writable_page?

Where can I find those functions that set the value of PGT_type? Thanks a lot.

Carol