p2m: no need to send IPIs within p2m_alloc_table()
PATCH 1/1 p2m: no need to send IPIs within p2m_alloc_table()
There is no need to send IPIs within p2m_alloc_table() via set_p2m_entry().
Signed-off-by Christoph Egger <[email protected]>
Signature · 6 lines
---to satisfy European Law for business letters: Advanced Micro Devices GmbH Einsteinring 24, 85689 Dornach b. Muenchen Geschaeftsfuehrer: Alberto Bozzo, Andrew Bowd Sitz: Dornach, Gemeinde Aschheim, Landkreis Muenchen Registergericht Muenchen, HRB Nr. 43632
xen/arch/x86/mm/p2m.c +2 -0
@@ -247,6 +247,7 @@ int p2m_alloc_table(struct p2m_domain *pP2M_PRINTK ("populating p2m table\n" );/* Initialise physmap tables for slot zero. Other code assumes this. */ + p2m->defer_nested_flush =1 ;if ( !set_p2m_entry (p2m,0 ,_mfn (INVALID_MFN ),0 , p2m_invalid, p2m->default_access) ) {
@@ -277,6 +278,7 @@ int p2m_alloc_table(struct p2m_domain *p }spin_unlock (&p2m->domain->page_alloc_lock); } + p2m->defer_nested_flush =0 ;P2M_PRINTK ("p2m table initialised (%u pages)\n" , page_count);p2m_unlock (p2m);
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
Tim Deegan
AppliedQuoted 4 lines · Christoph Egger
There is no need to send IPIs within
p2m_alloc_table()viaset_p2m_entry().Signed-off-by Christoph Egger <[email protected]>
Applied, thanks.
Tim.
Signature · 3 lines
Tim Deegan <[email protected]> Principal Software Engineer, Xen Platform Team Citrix Systems UK Ltd. (Company #02937203, SL9 0BG)