Pagetable updates
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
Quoted 6 lines
hi,
I am having a problem with some pagetable-updates that seem to by sneaking past my checks in XenoLinux. I have #undeffed
CONFIG_XENOinmm/memory.c, and have checking code in place in the functions
Quoted 7 lines
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
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
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
Quoted 9 lines · Kip Macy
What happens if I install a PDE without setting
MMU_EXTENDED_COMMANDandMMUEXT_PIN_L2_TABLE? I'd like to, for backwards compatibility's sake, have it show up in my KVA.-Kip
Quoted 10 lines
-------------------------------------------------------
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 [email protected]
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
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
Quoted 4 lines
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.
Quoted 23 lines
-Kip
Quoted 19 lines · Kip Macy
What happens if I install a PDE without setting
MMU_EXTENDED_COMMANDandMMUEXT_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 [email protected]
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