On 11/11/14 05:43, Juergen Gross wrote: > Instead of checking at each call of set_phys_to_machine() whether a > new p2m page has to be allocated due to writing an entry in a large > invalid or identity area, just map those areas read only and react > to a page fault on write by allocating the new page. > > This change will make the common path with no allocation much > faster as it only requires a single write of the new mfn instead > of walking the address translation tables and checking for the > special cases.
Reviewed-by: David Vrabel <david.vra...@citrix.com> David -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/