hi all, i have two questions regarding the page tables of domains. 1. get_pfn_type_batch() seems to have a single-page limit. ie, trying to get pfn types for an array larger than a page fails. why the restriction? 2. L1 page tables seem to contain mfns of not only L2 pages, but "normal" pages as well. can anyone explain this? thanks, -A. -- Aaron Marks Distributed Systems Lab University of Pennsylvania www.cis.upenn.edu/~ajmarks "Strange women lying in ponds distributing swords is no basis for a system of government." _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Jacob Gorm Hansen
2005-Aug-16 12:01 UTC
Re: [Xen-devel] L1 page tables and get_pfn_type_batch()
Aaron J. Marks wrote:> hi all, > > i have two questions regarding the page tables of domains. > > 1. get_pfn_type_batch() seems to have a single-page limit. ie, trying to > get pfn types for an array larger than a page fails. why the restriction? > > 2. L1 page tables seem to contain mfns of not only L2 pages, but "normal" > pages as well. can anyone explain this?I am just guessing, but perhaps you are confusing Xen''s (weird) notion of what is L1 and what is L2. In Xen, the top-level page directory (assuming two-level page tables) is considered L2, and the leaf page tables are considered L1. Jacob _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel