Re: [Xen-devel] [PATCH v1 02/14] x86/np2m: add np2m_flush_base()

2017-09-28 Thread George Dunlap
On 09/04/2017 09:14 AM, Sergey Dyasli wrote: > The new function finds all np2m objects with the specified np2m_base > and flushes them. > > Convert p2m_flush_table() into p2m_flush_table_locked() in order not to > release the p2m_lock after np2m_base check. > > Signed-off-by: Sergey Dyasli Revi

[Xen-devel] [PATCH v1 02/14] x86/np2m: add np2m_flush_base()

2017-09-04 Thread Sergey Dyasli
The new function finds all np2m objects with the specified np2m_base and flushes them. Convert p2m_flush_table() into p2m_flush_table_locked() in order not to release the p2m_lock after np2m_base check. Signed-off-by: Sergey Dyasli --- RFC --> v1: - p2m_unlock(p2m) is moved from p2m_flush_table_