Re: [PATCH 1/3] KVM: MMU: Make pte_list_desc fit cache lines well

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

 



On 03/15/2012 11:19 AM, Takuya Yoshikawa wrote:
> We have PTE_LIST_EXT + 1 pointers in this structure and these 40/20
> bytes do not fit cache lines well.  Furthermore some allocators may
> use 64/32-byte objects for the pte_list_desc cache.
>
> This patch solves this problem by raising PTE_LIST_EXT to 7.
>
> Note: with EPT/NPT we almost always have a single spte in each reverse
> mapping and nothing will be changed by this.

It might be better to drop it to 3.  Without EPT/NPT, anonymous guest
pages will have two mappings (a kernel mapping and a user mapping). 
Only file pages will have many mappings.

-- 
error compiling committee.c: too many arguments to function

--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux