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

Re: [Xen-devel] Odd mapping behavior with map_pages_to_xen




On 16 Mar 2006, at 19:05, Arne Mejlholm wrote:

If you build Xen with 'debug=y' option then I expect you'll find your code works fine. :-)

You expected correctly indeed. I take it that enabling debug either forces the mappings to be replaced (non-lazily) or does it switch entirely to 4kb pages?

There is no code to replace the mappings in non-idle pagetables. So it's the latter -- to support heap guard pages, we map the entire Xen heap with 4kB pages in debug builds.

In non-debug builds the superpages are used in all pagetables to map Xen heap. It's to improve TLB utilisation.

 -- Keir


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.