All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gerd Knorr <kraxel@suse.de>
To: Rik van Riel <riel@redhat.com>
Cc: xen-devel@lists.xensource.com
Subject: Re: Re: [Xen-changelog] This adds a patch for the vanilla kernel, to be pushed upstream some
Date: 13 Jul 2005 09:55:45 +0200	[thread overview]
Message-ID: <8764vfm96m.fsf@bytesex.org> (raw)
In-Reply-To: <Pine.LNX.4.61.0507121144050.1271@chimarrao.boston.redhat.com>

Rik van Riel <riel@redhat.com> writes:

> On Mon, 11 Jul 2005, Xen patchbot -unstable wrote:
> 
> > --- a/linux-2.6-xen-sparse/arch/xen/i386/mm/pgtable.c	Mon Jul 11 15:43:12 2005
> > +++ b/linux-2.6-xen-sparse/arch/xen/i386/mm/pgtable.c	Mon Jul 11 15:46:46 2005
> 
> >  	if (PTRS_PER_PMD == 1 || !pgd)
> >  		return pgd;
> >  
> > +	if (!HAVE_SHARED_KERNEL_PMD) {
> > +		/* alloc and copy kernel pmd */
> > +		unsigned long flags;
> > +		pgd_t *copy_pgd = pgd_offset_k(PAGE_OFFSET);
> > +		pud_t *copy_pud = pud_offset(copy_pgd, PAGE_OFFSET);
> 
> I don't understand how the code inside this if condition
> ever gets to run.  Surely the previous test should catch
> the non-PAE case already ?

It's about PAE mode.  xenlinux in PAE mode does _not_ have a shared
PMD for the kernel address space.

  Gerd

-- 
panic("it works"); /* avoid being flooded with debug messages */

      parent reply	other threads:[~2005-07-13  7:55 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <E1Ds0Vu-0004aO-Bd@xenbits.xensource.com>
2005-07-12 15:47 ` [Xen-changelog] This adds a patch for the vanilla kernel, to be pushed upstream some Rik van Riel
2005-07-12 16:07   ` Keir Fraser
2005-07-12 16:04     ` Rik van Riel
2005-07-13  7:55   ` Gerd Knorr [this message]

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=8764vfm96m.fsf@bytesex.org \
    --to=kraxel@suse.de \
    --cc=riel@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.