From: Steven Rostedt <srostedt@redhat.com>
To: Tim Deegan <Tim.Deegan@xensource.com>
Cc: Chris Lalancette <clalance@redhat.com>, xen-devel@lists.xensource.com
Subject: Re: Tracking "Cannot allocate memory" error in shadow_alloc_p2m_table
Date: Fri, 12 Jan 2007 08:05:16 -0500 [thread overview]
Message-ID: <45A7878C.5070409@redhat.com> (raw)
In-Reply-To: <20070112110702.GA18763@york.uk.xensource.com>
Tim Deegan wrote:
> At 00:13 -0500 on 12 Jan (1168560825), Steven Rostedt wrote:
>> Why do we need that code, it's using stale data, and updating the shadow
>> page tables with a m2p mapping that is from a older domain.
>
> The domain builder for translated PV guests still populates the physmap
> before enabling shadow-translate mode, so needs this init code. Now
> that paravirt-ops kernels use proper mmu operations that can probably be
> fixed up.
>
> In the meantime, cset 13326:dc0638bb4628 of xen-unstable should have
> stopped it from killing the guest if it finds an entry that's too big.
>
Is there a way to tell if this is a translated PV guest? I'd rather not
do this code at all if it is not needed. We are mapping pages into a
guess from junk data. I hate to find out later on that something is
missed, and we allow for the guest to have access to memory it should
not have.
-- Steve
next prev parent reply other threads:[~2007-01-12 13:05 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-01-09 21:16 Tracking "Cannot allocate memory" error in shadow_alloc_p2m_table Chris Lalancette
2007-01-10 11:32 ` Tim Deegan
2007-01-10 15:41 ` Chris Lalancette
2007-01-12 5:13 ` Steven Rostedt
2007-01-12 11:07 ` Tim Deegan
2007-01-12 13:05 ` Steven Rostedt [this message]
2007-01-12 14:36 ` Steven Rostedt
2007-01-12 14:37 ` Tim Deegan
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=45A7878C.5070409@redhat.com \
--to=srostedt@redhat.com \
--cc=Tim.Deegan@xensource.com \
--cc=clalance@redhat.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 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.