From: Kip Macy <kip.macy@gmail.com>
To: xen-devel <xen-devel@lists.xensource.com>
Subject: recent changes to writable page tables on -unstable and xend
Date: Thu, 28 Apr 2005 16:12:46 -0700 [thread overview]
Message-ID: <b1fa2917050428161243da7414@mail.gmail.com> (raw)
Any thought on which of the recent writable pagetable changes could be
causing an update to fail where it succeeded on xen 6 days ago?
(XEN) DOM5: (file=mm.c, line=2834) ptwr: Could not update pte at fe2ffc04
Timer ISR/1: Time went backwards: delta=-69992000 cpu_delta=1780008000 shadow=
1510880000000 off=9000 processed=1510950000000 cpu_processed=1509100000000
0: 1510950000000
1: 1509100000000
In my current changeset this comes from:
/* Finally, make the p.t. page writable by the guest OS. */
l1e_add_flags(&pte, _PAGE_RW);
if ( unlikely(__copy_to_user(&linear_pg_table[addr>>PAGE_SHIFT],
&pte, sizeof(pte))) )
{
MEM_LOG("ptwr: Could not update pte at %p", (unsigned long *)
&linear_pg_table[addr>>PAGE_SHIFT]);
/* Toss the writable pagetable state and crash. */
I've added show_guest_stack to determine that I'm in the process of
mapping a page read-write in order for it to be zeroed.
This isn't an emergency as disabling writable pagetables allows me to
get running again.
On -testing xend always reaps a domain immediately after it has
crashed. On -unstable up until today it would wait to reap the guest
until I ran 'xm list'. Now it appears that I have to explicitly run xm
destroy on a guest even after it has crashed.
next reply other threads:[~2005-04-28 23:12 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-04-28 23:12 Kip Macy [this message]
2005-04-28 23:17 ` recent changes to writable page tables on -unstable and xend Kip Macy
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=b1fa2917050428161243da7414@mail.gmail.com \
--to=kip.macy@gmail.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.