On Wed, 03 Jul 2013 16:39:25 +0800 Xiao Guangrong <xiaoguangrong@xxxxxxxxxxxxxxxxxx> wrote: > Please wait a while. I can not understand it very clearly. > > This conditional check will cause caching a overflow value into mmio spte. > The simple case is that kvm adds new slots for many times, the mmio-gen is easily > more than MMIO_MAX_GEN. Unconditional checking in commit_memory_region() is still there to treat such cases. 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