All of lore.kernel.org
 help / color / mirror / Atom feed
* if p2m_is_paging then p2m_mem_paging_populate
@ 2010-08-31 20:32 Olaf Hering
  0 siblings, 0 replies; only message in thread
From: Olaf Hering @ 2010-08-31 20:32 UTC (permalink / raw)
  To: Patrick Colp; +Cc: xen-devel


Patrick,

when should p2m_mem_paging_populate() get called?
Currently there is a mix of p2m_is_paged and p2m_is_paging in
xen-unstable. The latter would mean that any of the paging states will
reset the flag to p2m_ram_paging_in_start. Well, unless its
p2m_ram_paging_out which is checked in p2m_mem_paging_populate itself.

I could prepare a patch to convert all callers to if p2m_is_paged() then
p2m_mem_paging_populate().

My guess is that the busy loop I see in my testing is caused by some
race where p2mt is reset to p2m_ram_paging_in_start so that xen itself
doesnt make any progress after a while. I'm currently debug that sort of
hang.


Olaf

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2010-08-31 20:32 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-08-31 20:32 if p2m_is_paging then p2m_mem_paging_populate Olaf Hering

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.