(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