public inbox for linux-arch@vger.kernel.org
 help / color / mirror / Atom feed
From: Nick Piggin <nickpiggin@yahoo.com.au>
To: "David S. Miller" <davem@davemloft.net>
Cc: linux-arch@vger.kernel.org
Subject: Re: (resend) Converting architectures to 4 level page tables
Date: Wed, 26 Jan 2005 22:47:48 +1100	[thread overview]
Message-ID: <41F78364.6060409@yahoo.com.au> (raw)
In-Reply-To: <20050125195043.45fed74b.davem@davemloft.net>

David S. Miller wrote:
> On Sun, 23 Jan 2005 11:08:46 +1100
> Nick Piggin <nickpiggin@yahoo.com.au> wrote:
> 
> 
>>* replace
>>     #include <asm-generic/4level-fixup.h>
>>   in asm/pgtable.h with
>>     #include <asm-generic/pgtable-nopud.h>
> 
> 
> This breaks platforms like sparc64 because PTRS_PER_PMD is not
> a compile time constant.  It is actually dependant upon whether
> the current thread is using a 32-bit or 64-bit address space.
> 

Not sure I follow.... Oh, if it is just a matter of that
breaking the conditional compilation then OK, hmm.

These functions will simply never be called if the relevant
PTRS_PER_XXX is 1. Actually it is dependant on p?d_none
always being false.

So you shouldn't even need that runtime check there I think.
The #if was just a small space saving, but you could simply
remove that and be done with it I think. Or have I missed
something?

  parent reply	other threads:[~2005-01-26 11:47 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-01-23  0:08 (resend) Converting architectures to 4 level page tables Nick Piggin
2005-01-26  3:50 ` David S. Miller
2005-01-26  5:07   ` David S. Miller
2005-01-26 11:51     ` Nick Piggin
2005-01-26 11:47   ` Nick Piggin [this message]
2005-01-26 20:26     ` David S. Miller
2005-01-26 23:21       ` Nick Piggin
2005-01-26 23:25         ` David S. Miller
2005-01-26 23:39           ` Nick Piggin
2005-01-26 23:41             ` David S. Miller

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=41F78364.6060409@yahoo.com.au \
    --to=nickpiggin@yahoo.com.au \
    --cc=davem@davemloft.net \
    --cc=linux-arch@vger.kernel.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox