All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gerd Hoffmann <kraxel@suse.de>
To: Keir Fraser <keir@xensource.com>
Cc: Xen devel list <xen-devel@lists.xensource.com>,
	Jan Beulich <jbeulich@novell.com>
Subject: Re: CONFIG_XEN_COMPAT_030002 broken?
Date: Tue, 14 Nov 2006 16:35:18 +0100	[thread overview]
Message-ID: <4559E236.7080706@suse.de> (raw)
In-Reply-To: <C17F9079.486E%keir@xensource.com>

Keir Fraser wrote:
> Kernel_pages_need_user_flag seems unnecessary. The one consumer of that flag
> could simply do 'flags |= kernel_page_user' unconditionally.

Yep, noticed that too meanwhile ;)

> Also, is it necessary to default to 3.0.2 behaviour?

I've started coding it that way before I found the final place for the
test, just to be sure it doesn't crash on pgtable ops before the test.
Defaulting to 3.0.3 behavior should work though as test happens early
enough.

> So far we have maintained the COMPAT code to be easily entirely strippable.
> So the change to pmd_bad() should either use kernel_page_user rather than
> _PAGE_USER, or its definition should be conditional on the COMPAT flag.

Both ways should have the same effect as kernel_page_user is defined to
0 for the non-compat case.

cheers,

  Gerd

-- 
Gerd Hoffmann <kraxel@suse.de>
http://www.suse.de/~kraxel/julika-dora.jpeg

  reply	other threads:[~2006-11-14 15:35 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 [this message]
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
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=4559E236.7080706@suse.de \
    --to=kraxel@suse.de \
    --cc=jbeulich@novell.com \
    --cc=keir@xensource.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.