[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Xen-devel] [PATCH v9 2/5] x86/ioreq server: Add DMOP to map guest ram with p2m_ioreq_server to an ioreq server.
>>> On 24.03.17 at 13:35, <yu.c.zhang@xxxxxxxxxxxxxxx> 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@xxxxxxxxxxxxx
https://lists.xen.org/xen-devel
|