On 10/02/2017 10:37 AM, Sergey Dyasli wrote: > On Fri, 2017-09-29 at 16:01 +0100, George Dunlap wrote: >> nvmx_handle_invept() updates current's np2m just to flush it. This is >> not only wasteful, but ineffective: if several L2 vcpus share the same >> np2m base pointer, they all need to be flushed (not only the current >> one). > > I don't follow this completely. L1 will use INVEPT on each vCPU that > shares the same np2m pointer. The main idea here was not to update > current's np2m just to flush it.
Hmm, yes the INVEPT thing is true. But if that's the case, why do we need np2m_flush_base() to loop over the whole list and flush all np2ms with the same pointer? -George _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org https://lists.xen.org/xen-devel