linux-mips
[Top] [All Lists]

Re: weirdness in bootmem_init(), arch/mips64/kernel/setup.c

To: Juan Quintela <quintela@mandrakesoft.com>
Subject: Re: weirdness in bootmem_init(), arch/mips64/kernel/setup.c
From: Ralf Baechle <ralf@linux-mips.org>
Date: Tue, 18 Feb 2003 11:33:14 +0100
Cc: Andrew Clausen <clausen@melbourne.sgi.com>, Linux-MIPS <linux-mips@linux-mips.org>
In-reply-to: <86ptpplw8k.fsf@trasno.mitica>; from quintela@mandrakesoft.com on Tue, Feb 18, 2003 at 11:27:23AM +0100
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <20030218065427.GA915@pureza.melbourne.sgi.com> <86ptpplw8k.fsf@trasno.mitica>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.2.5.1i
On Tue, Feb 18, 2003 at 11:27:23AM +0100, Juan Quintela wrote:

> andrew> That test looks like it will always succeed... and it looks like the
> andrew> author wanted it to be a sanity check.
> 
> andrew> Why all this business with PFN_UP and PFN_DOWN?  (They are bit
> andrew> shifts... PFN_UP shifts left, PFN_DOWN shifts right)
> 
> Not completely sure, but I think that it is related with the weird
> discontig memory that Origins (and I think other MIPS machines) have.

It's not used on Origins.

  Ralf

<Prev in Thread] Current Thread [Next in Thread>