All of lore.kernel.org
 help / color / mirror / Atom feed
* RE: netif_suspend / resume
@ 2005-05-19  7:29 Ian Pratt
  2005-05-20 22:30 ` Jacob Gorm Hansen
  0 siblings, 1 reply; 6+ messages in thread
From: Ian Pratt @ 2005-05-19  7:29 UTC (permalink / raw)
  To: Jacob Gorm Hansen, Xen-devel

 

> does netif_suspend() have any side effects with regards to 
> the state of memory pages that are currently awaiting I/O?
> 
> It seems to basically unbind from the event channels for the 
> vifs, does that guarantee that Xen or the driver domain will 
> not decide to flip any of the client domain's pages after 
> this point? How does the client domain reclaim outstanding 
> sbks during/after a suspend?

The guest keeps its own shadow copy of the state as regards which pfn's
it has queued as {free, rx, tx}bufs. After a resume it 'gathers' those
pages and requeues the free and tx bufs to the new backend. 

We currently junk any outstanding rxbufs, but in reality there almost
never are any as the vif interrupt will be serviced before the suspend
thread gets to run. When we switch over to grant tables we'll be able to
process these on the destination too, as we'll know the memory has been
syncronized. It won't make difference, though.

Ian 

^ permalink raw reply	[flat|nested] 6+ messages in thread
* netif_suspend / resume
@ 2005-05-19  3:38 Jacob Gorm Hansen
  0 siblings, 0 replies; 6+ messages in thread
From: Jacob Gorm Hansen @ 2005-05-19  3:38 UTC (permalink / raw)
  To: Xen-devel

hi,

does netif_suspend() have any side effects with regards to the state of 
memory pages that are currently awaiting I/O?

It seems to basically unbind from the event channels for the vifs, does 
that guarantee that Xen or the driver domain will not decide to flip any 
of the client domain's pages after this point? How does the client 
domain reclaim outstanding sbks during/after a suspend?

Thanks,
Jacob

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2005-05-24  8:27 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-05-19  7:29 netif_suspend / resume Ian Pratt
2005-05-20 22:30 ` Jacob Gorm Hansen
2005-05-21 23:08   ` Kip Macy
2005-05-23 22:27     ` Jacob Gorm Hansen
2005-05-24  8:27       ` Keir Fraser
  -- strict thread matches above, loose matches on Subject: below --
2005-05-19  3:38 Jacob Gorm Hansen

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.