All of lore.kernel.org
 help / color / mirror / Atom feed
From: Olaf Hering <olaf@aepfle.de>
To: Patrick Colp <pjcolp@cs.ubc.ca>
Cc: xen-devel@lists.xensource.com
Subject: if p2m_is_paging then p2m_mem_paging_populate
Date: Tue, 31 Aug 2010 22:32:26 +0200	[thread overview]
Message-ID: <20100831203226.GA28275@aepfle.de> (raw)


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

                 reply	other threads:[~2010-08-31 20:32 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20100831203226.GA28275@aepfle.de \
    --to=olaf@aepfle.de \
    --cc=pjcolp@cs.ubc.ca \
    --cc=xen-devel@lists.xensource.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.