From: "Jan Beulich" <jbeulich@novell.com>
To: Gerd Hoffmann <kraxel@suse.de>, Keir Fraser <keir@xensource.com>
Cc: Xen devel list <xen-devel@lists.xensource.com>
Subject: Re: CONFIG_XEN_COMPAT_030002 broken?
Date: Tue, 14 Nov 2006 16:43:13 +0100 [thread overview]
Message-ID: <4559F221.76E4.0078.0@novell.com> (raw)
In-Reply-To: <C17F9079.486E%keir@xensource.com>
>Also, is it necessary to default to 3.0.2 behaviour? Could we have
>kernel_page_user==0 initially and then change the value only if 3.0.2 is
>detected? This would provide a sanity check that check_page_user_flag() is
>being executed early enough. We could even set kernel_page_user to a garbage
>value initially, like ~0.
I think it's better the way Gerd had it (my patch also does it that way) - adding
extra _PAGE_USER when not needed is not wrong afaics, only hurts performance,
whereas missing to add it when needed would crash the kernel. While that might
help verify that the check is done early enough, it doesn't guarantee anything
since certain code paths may not be taken, and so we may enjoy false safety.
Jan
next prev parent reply other threads:[~2006-11-14 15:43 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-11-13 10:43 CONFIG_XEN_COMPAT_030002 broken? Gerd Hoffmann
2006-11-13 16:09 ` Gerd Hoffmann
2006-11-13 16:40 ` Keir Fraser
2006-11-13 16:47 ` Gerd Hoffmann
2006-11-13 16:56 ` Keir Fraser
2006-11-13 17:08 ` Gerd Hoffmann
2006-11-13 17:12 ` Keir Fraser
2006-11-14 11:14 ` Jan Beulich
2006-11-14 11:50 ` Keir Fraser
2006-11-14 12:32 ` Jan Beulich
2006-11-14 12:42 ` Keir Fraser
2006-11-14 13:02 ` Jan Beulich
2006-11-14 13:12 ` Keir Fraser
2006-11-14 15:11 ` Gerd Hoffmann
2006-11-14 15:25 ` Keir Fraser
2006-11-14 15:35 ` Gerd Hoffmann
2006-11-14 16:06 ` Gerd Hoffmann
2006-11-14 17:01 ` Keir Fraser
2006-11-15 10:02 ` Gerd Hoffmann
2006-11-15 10:10 ` Keir Fraser
2006-11-14 15:43 ` Jan Beulich [this message]
2006-11-14 15:40 ` 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=4559F221.76E4.0078.0@novell.com \
--to=jbeulich@novell.com \
--cc=keir@xensource.com \
--cc=kraxel@suse.de \
--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.