>>> On 24.03.17 at 13:35, <yu.c.zh...@linux.intel.com> wrote: > Besides, even the p2m_get_ioreq_server() is used here in > ept_p2m_type_to_flags(), it can only > provide a limited protection, there's a chance that returned flag in > ept_p2m_type_to_flags() > be outdated in above situation. > > So, since we do not really care about the p2m entry permission in such > extreme situation, and > we can not 100% guarantee the lock will protect it, I do not think we > need to use the lock here. > > I am not sure if this explanation is convincing to you, but I'm also > open to be convinced. :-)
Well, okay, keep it as it is then. I'm not fully convinced, but the change wouldn't buy us much. Jan _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org https://lists.xen.org/xen-devel