search for: phys_to_mach

Displaying 2 results from an estimated 2 matches for "phys_to_mach".

2008 Feb 26
0
Managing page tables question
...en this gives 2 choices: a) Map machine frames to virtual addresses 1:1 Machine frames can be all over the place meaning lots of gaps in the page tables mapping those pages. -> wastes pages b) Map pseudo physical frames to virtual addresses 1:1 This is continious but it always needs the phys_to_mach and mach_to_phys conversions. -> wastes time Both of those will use up pages for the mapping although only a fraction of the total. And they will use up pages for regions where no page table is actually located. 2) Maintain a shadow page table with virtual addresses So instead of 1 page p...
2013 Oct 17
42
[PATCH v8 0/19] enable swiotlb-xen on arm and arm64
...ervisor changes anymore. Cheers, Stefano Changes in v8: - use __phys_to_pfn and __pfn_to_phys in phys_to_dma and dma_to_phys; - cast 0 to dma_addr_t in the definition of DMA_ERROR_CODE; - move pfn_to_mfn and mfn_to_pfn to page.h as static inline functions; - no need to walk the two p2m trees if phys_to_mach.rb_node is NULL; - correctly handle multipage p2m entries; - substitute the p2m spin_lock with a rwlock; - assume dom0 is mapped 1:1, no need to call XENMEM_exchange in xen_create_contiguous_region; - add two simple performance improvements for swiotlb-xen. Changes in v7: - dma_mark_clean: switch...