Re: [PATCH] KVM: x86: Drop unused return value of kvm_mmu_remove_some_alloc_mmu_pages

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

 



(2011/12/06 19:41), Avi Kivity wrote:
On 12/06/2011 12:40 PM, Avi Kivity wrote:

Is there any need for mmu_shrink()?

Without it a user can easily pin large amounts of kernel memory by
filling guest memory with page tables and shadowing them all.

It would make an interesting test case, btw, to try to crash the kernel
this way, and exercise the shrinker.


If nobody is working on this mmu_shrink() issues, I will do something.

But what I saw from the code is that the current zapper is effective
for the cases there are some unsync children.

So we may need to zap rather forcibly for tdp.

	Takuya
--
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