|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] Re: [PATCH 3 of 4] Nested p2m: clarify logic in p2m_get_nestedp2m()
On 06/22/11 18:10, Tim Deegan wrote:
Ok, thanks.
In p2m_get_nestedp2m() replace this code hunk
for (i = 0; i < MAX_NESTEDP2M; i++) {
p2m = p2m_getlru_nestedp2m(d, NULL);
p2m_flush_locked(p2m);
}
with
p2m = p2m_getlru_nestedp2m(d, NULL);
p2m_flush_locked(p2m);
The 'i'' variable is unused then. This fixes an endless loop of
nested page faults I observe with SMP l2 guests.
The nested page fault loop happens in conjunction with the change
in patch 4 in nestedhap_fix_p2m().
Christoph
--
---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-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |