|
|
|
|
|
|
|
|
|
|
xen-devel
Re: [Xen-devel] Unmap shadow vtable when freeing shadow table in free_sh
On Wed, 12 Apr 2006, Li, Xin B wrote:
> Unmap shadow vtable when freeing shadow table in free_shadow_pages().
>
> Signed-off-by: Xin Li <xin.b.li@xxxxxxxxx>
>
> + if ( v->arch.shadow_vtable )
> + unmap_domain_page_global(v->arch.shadow_vtable);
> + v->arch.shadow_vtable = NULL;
Why not:
if ( v->arch.shadow_vtable )
{
unmap_domain_page_global(v->arch.shadow_vtable);
v->arch.shadow_vtable = NULL;
}
--
James Morris
<jmorris@xxxxxxxxxx>
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
|
|
|
|