hi, I am having a problem with some pagetable-updates that seem to by sneaking past my checks in XenoLinux. I have #undeffed CONFIG_XENO in mm/memory.c, and have checking code in place in the functions MULTICALL_flush_page_update_queue() & __flush_page_update_queue() in arch/xeno/mm/hypervisor.c. Is there anywhere else (like in asm-code somewhere) pte-updates are passed up to Xen without my knowledge? thanks, Jacob ------------------------------------------------------- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click _______________________________________________ Xen-devel mailing list Xen-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel
hi, I am having a problem with some pagetable-updates that seem to by sneaking past my checks in XenoLinux. I have #undeffed CONFIG_XENO in mm/memory.c, and have checking code in place in the functions MULTICALL_flush_page_update_queue() & __flush_page_update_queue() in arch/xeno/mm/hypervisor.c. Is there anywhere else (like in asm-code somewhere) pte-updates are passed up to Xen without my knowledge? thanks, Jacob ------------------------------------------------------- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click _______________________________________________ Xen-devel mailing list Xen-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel
> hi, > > I am having a problem with some pagetable-updates that seem to by > sneaking past my checks in XenoLinux. I have #undeffed CONFIG_XENO in > mm/memory.c, and have checking code in place in the functions > > MULTICALL_flush_page_update_queue() & > __flush_page_update_queue() > > in arch/xeno/mm/hypervisor.c. > > Is there anywhere else (like in asm-code somewhere) pte-updates are > passed up to Xen without my knowledge?I think page-table updates are all made via the interface you mention. Some things (e.g., LDT updates are sometimes done directly -- for example within the GPF handler). -- Keir ------------------------------------------------------- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click _______________________________________________ Xen-devel mailing list Xen-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel
What happens if I install a PDE without setting MMU_EXTENDED_COMMAND and MMUEXT_PIN_L2_TABLE? I''d like to, for backwards compatibility''s sake, have it show up in my KVA. -Kip ------------------------------------------------------- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click _______________________________________________ Xen-devel mailing list Xen-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel
To answer my own question I can do the mapping as a separate operation, but my question still holds with regards to what pinning the "l2 table" does. -Kip On Fri, 20 Feb 2004, Kip Macy wrote:> > What happens if I install a PDE without setting MMU_EXTENDED_COMMAND and > MMUEXT_PIN_L2_TABLE? I''d like to, for backwards compatibility''s sake, > have it show up in my KVA. > > > -Kip > > > ------------------------------------------------------- > SF.Net is sponsored by: Speed Start Your Linux Apps Now. > Build and deploy apps & Web services for Linux with > a free DVD software kit from IBM. Click Now! > http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/xen-devel >------------------------------------------------------- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click _______________________________________________ Xen-devel mailing list Xen-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel
When the refcnt of an L2 table is raised from zero, the whole page table structure is scanned to check it for safety. If the L2 table did not explicitly have its refcnt pinned to non-zero then this scanning would occur every time the table was installed into the hardware MMU. Pinning is *only* a performance enhancement -- you can get away without using the mechanism, but it will cost you performance. -- Keir> To answer my own question I can do the mapping as a separate operation, > but my question still holds with regards to what pinning the "l2 table" > does. > > -Kip > > On Fri, 20 Feb 2004, Kip Macy wrote: > > > > > What happens if I install a PDE without setting MMU_EXTENDED_COMMAND and > > MMUEXT_PIN_L2_TABLE? I''d like to, for backwards compatibility''s sake, > > have it show up in my KVA. > > > > > > -Kip > > > > > > ------------------------------------------------------- > > SF.Net is sponsored by: Speed Start Your Linux Apps Now. > > Build and deploy apps & Web services for Linux with > > a free DVD software kit from IBM. Click Now! > > http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click > > _______________________________________________ > > Xen-devel mailing list > > Xen-devel@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/xen-devel > >------------------------------------------------------- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click _______________________________________________ Xen-devel mailing list Xen-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel