linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Kumar Gala <galak@kernel.crashing.org>
To: Stephen Rothwell <sfr@canb.auug.org.au>
Cc: ppc-dev <linuxppc-dev@ozlabs.org>, paulus@samba.org
Subject: Re: [PATCH 2/2] [POWERPC] Size swapper_pg_dir correctly
Date: Thu, 23 Aug 2007 08:17:04 -0500	[thread overview]
Message-ID: <F4073FFB-78FF-4276-BBD4-3C57CCC6DA63@kernel.crashing.org> (raw)
In-Reply-To: <20070823161351.2a5f8096.sfr@canb.auug.org.au>


On Aug 23, 2007, at 1:13 AM, Stephen Rothwell wrote:

> On Wed, 22 Aug 2007 22:26:35 -0500 Kumar Gala  
> <galak@kernel.crashing.org> wrote:
>>
>>> +#ifdef CONFIG_PPC64
>>> +	DEFINE(PGD_TABLE_SIZE, PGD_TABLE_SIZE);
>>> +#endif
>>
>> Why limit this to ppc64?  The cleanup should be reasonable for all  
>> ppc.
>
> Because PGD_TABLE_SIZE only exists for ppc64 :-) for ppc32 the
> swapper_pg_dir will always be 1 page, right?

No, it can be 2 pages if we do > 32-bit physical on 44x/fsl_booke.

> So we could have
> #define PGD_TABLE_SIZE PAGE_SIZE
> for 32 bit and then go around and change the swapper_pg_dir's, but  
> that
> would be a separate patch.

- k

  reply	other threads:[~2007-08-23 13:16 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-08-23  3:09 [PATCH 1/2] [POWERPC] Remove cmd_line from head*.S Stephen Rothwell
2007-08-23  3:10 ` [PATCH 2/2] [POWERPC] Size swapper_pg_dir correctly Stephen Rothwell
2007-08-23  3:13   ` David Gibson
2007-08-23  3:26   ` Kumar Gala
2007-08-23  6:13     ` Stephen Rothwell
2007-08-23 13:17       ` Kumar Gala [this message]
2007-08-23  3:13 ` [PATCH 1/2] [POWERPC] Remove cmd_line from head*.S David Gibson
2007-08-23  3:27 ` Kumar Gala
2007-08-23 23:17   ` Milton Miller
2007-08-23  4:05 ` Stephen Rothwell

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=F4073FFB-78FF-4276-BBD4-3C57CCC6DA63@kernel.crashing.org \
    --to=galak@kernel.crashing.org \
    --cc=linuxppc-dev@ozlabs.org \
    --cc=paulus@samba.org \
    --cc=sfr@canb.auug.org.au \
    /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;
as well as URLs for NNTP newsgroup(s).