From: "Jan Beulich" <JBeulich@novell.com>
To: Andrew Lyon <andrew.lyon@gmail.com>,
Simon Graham <simon.graham@virtualcomputer.com>
Cc: xen-devel@lists.xensource.com
Subject: RE: Re: [Xen-users] rebased openSUSE Xen dom0 Patches
Date: Mon, 19 Apr 2010 09:41:32 +0100 [thread overview]
Message-ID: <4BCC335C020000780003ACD0@vpn.id2.novell.com> (raw)
In-Reply-To: <BC8BC73D12649F439B502B4CB6FD58B10148E91C@be23.exg4.exghost.com>
>>> "Simon Graham" <simon.graham@virtualcomputer.com> 16.04.10 15:42 >>>
>We've actually narrowed the problem down a bit -- the pages we fail on
>are always in the range of those freed by free_init_pages("unused kernel
>memory") from free_initmem(). Now, the specific problem is that a
>writable page cant be turned into a page table page because it's page
>type ref count is non-zero -- I see in the free_init_pages() routine
>that two hypercalls are made for each page, one of which sets the pte to
>zero (which would decrement the page type ref count I think) and one of
>which does not -- doesn't this leave the page type ref count at 1 which
>in turn means the page cant be turned into a page table page? Or is
>there some other magic that occurs later on that should decrement the
>page type ref count before attempting to use the page as a page table
>page?
Are you observing this with both the .31 and .32 patches?
>Here's the extract of the code I am talking about (yes, we are using a
>64-bit Dom0):
>...
But that code is precisely what guarantees that the pages *can* be
converted to page table pages (by completely unmapping them from
the kernel image part of the address space). So your explanation is
rather confusing than clarifying to me...
Jan
next prev parent reply other threads:[~2010-04-19 8:41 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-04-15 18:36 [Xen-users] rebased openSUSE Xen dom0 Patches Simon Graham
2010-04-15 18:41 ` Keir Fraser
2010-04-16 7:58 ` Jan Beulich
2010-04-16 13:42 ` Simon Graham
2010-04-19 8:41 ` Jan Beulich [this message]
2010-04-19 14:52 ` Simon Graham
2010-04-19 15:09 ` Jan Beulich
2010-04-20 16:07 ` Simon Graham
2010-04-20 19:01 ` Konrad Rzeszutek Wilk
-- strict thread matches above, loose matches on Subject: below --
2010-04-21 7:04 Jan Beulich
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=4BCC335C020000780003ACD0@vpn.id2.novell.com \
--to=jbeulich@novell.com \
--cc=andrew.lyon@gmail.com \
--cc=simon.graham@virtualcomputer.com \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).