|
|
|
|
|
|
|
|
|
|
xen-devel
Re: [Xen-devel] shadow2 corrupting PV guest state
On 24/10/06 10:39, "Doi.Tsunehisa@xxxxxxxxxxxxxx"
<Doi.Tsunehisa@xxxxxxxxxxxxxx> wrote:
>> True, but we don't look at nd unless the page is allocated...
>
> Between domain_relinquish_resources() in domain_kill() and
> shadow_final_teadown() in domain_destroy(), nd might be looked
> with gnttab_copy(), I think.
Domain_destroy() is only called when the domain refcnt reaches zero. This
can only happen when all its page refcnts have reached zero. When a page's
refcnt reaches zero, get_page() no longer succeeds on it. So there is no
race between gnttab_copy() and domain_destroy().
-- Keir
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- [Xen-devel] Re: shadow2 corrupting PV guest state, (continued)
- Re: [Xen-devel] shadow2 corrupting PV guest state, Doi . Tsunehisa
- Re: [Xen-devel] shadow2 corrupting PV guest state, Tim Deegan
- Re: [Xen-devel] shadow2 corrupting PV guest state, Doi . Tsunehisa
- Re: [Xen-devel] shadow2 corrupting PV guest state, Tim Deegan
- Re: [Xen-devel] shadow2 corrupting PV guest state, Doi . Tsunehisa
- Re: [Xen-devel] shadow2 corrupting PV guest state, Tim Deegan
- Re: [Xen-devel] shadow2 corrupting PV guest state, Doi . Tsunehisa
- Re: [Xen-devel] shadow2 corrupting PV guest state, Tim Deegan
- Re: [Xen-devel] shadow2 corrupting PV guest state, Doi . Tsunehisa
- Re: [Xen-devel] shadow2 corrupting PV guest state,
Keir Fraser <=
- Re: [Xen-devel] shadow2 corrupting PV guest state, Doi . Tsunehisa
- Re: [Xen-devel] shadow2 corrupting PV guest state, Keir Fraser
- Re: [Xen-devel] shadow2 corrupting PV guest state, Doi . Tsunehisa
|
|
|
|
|