Linux MIPS Architecture development
 help / color / mirror / Atom feed
From: Jun Sun <jsun@mvista.com>
To: "Kevin D. Kissell" <kevink@mips.com>
Cc: Daniel Jacobowitz <dan@debian.org>,
	Matthew Dharm <mdharm@momenco.com>,
	Linux-MIPS <linux-mips@oss.sgi.com>
Subject: Re: MIPS 64?
Date: Thu, 16 May 2002 10:13:30 -0700	[thread overview]
Message-ID: <3CE3E8BA.8080002@mvista.com> (raw)
In-Reply-To: 007a01c1fca9$86e14f70$10eca8c0@grendel

Kevin D. Kissell wrote:

> Jun Sun wrote:
> 
>>Daniel Jacobowitz wrote:
>>
>>
>>>On Wed, May 15, 2002 at 02:34:47PM -0700, Matthew Dharm wrote:
>>>
>>>
>>>>So... I'm looking at porting Linux to a system with 1.5GiB of RAM.
>>>>That kinda blows the 32-bit MIPS port option right out of the water...
>>>>
>>>>
>>>Not unless you count bits differently than I do... 32-bit is 4 GiB.  Is
>>>there any reason MIPS has special problems in this area?
>>>
>>>
>>
>>MIPS has lower 2GB fixed for user space.  Then you have kseg0, .5GB for cached 
>>physical address 0-0.5GB, and kseg1, 0.5GB uncached mapping of the same area. 
>>  You can map another 1GB of RAM into kseg2/3, but you will then have no space 
>>left for IO.
>>
>>So you really can't do 1.5GB on 32 bit kernel.
>>
> 
> Is this to say that Linux cannot function unless all physical memory
> on the system is mapped at all times into kernel space? I would
> have thought that (a) all that really needs to be mapped is all
> memory used by the kernel itself, plus that of the currently active
> process (which is mapped in the 2GB kuseg), and that (b) one 
> could anyway manage kseg2 or 3 dynamically to provide a window 
> into a larger physical memory, and that this window could be
> used for any functions that need to do arbitrary phys-to-phys
> copies.
> 


You are right - my above statement is a grossly simplified way of saying "You 
can't really have 1.5GB system RAM accessible to kernel at the same time on a 
32bit MIPS kernel".

There is nothing preventing you from having more physical RAM and use 
dynamically by using HIGHMEM support.

BTW, I have been under the impression that demand for larger system RAM mainly 
comes from large router/switches to store routing table.  Does anybody know on 
such systems whether the routing code runs in kernel or user space and whether 
  it requires all the memory space accessible at the same time or can live 
with dynamically managed memory space?

Jun

  reply	other threads:[~2002-05-16 17:16 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-05-15 21:34 MIPS 64? Matthew Dharm
2002-05-15 21:48 ` Daniel Jacobowitz
2002-05-15 21:55   ` Kip Walker
2002-05-15 22:08     ` Matthew Dharm
2002-05-15 22:08       ` Matthew Dharm
2002-05-15 22:15       ` Kip Walker
2002-05-15 22:26         ` Matthew Dharm
2002-05-15 22:29           ` Kip Walker
2002-05-19 19:29           ` Ralf Baechle
2002-05-19 19:25       ` Ralf Baechle
2002-05-15 21:59   ` Jun Sun
2002-05-15 22:16     ` Matthew Dharm
2002-05-19 19:32       ` Ralf Baechle
2002-05-16  3:28     ` Dan Malek
2002-05-16  7:15     ` Kevin D. Kissell
2002-05-16 17:13       ` Jun Sun [this message]
2002-05-19 19:44         ` Ralf Baechle
2002-05-19 19:41       ` Ralf Baechle
2002-05-19 19:30     ` Ralf Baechle
2002-05-20 10:06       ` Maciej W. Rozycki
2002-05-20 15:57         ` Greg Lindahl
2002-05-20 16:05           ` Maciej W. Rozycki
2002-05-21 16:47           ` Florian Lohoff
2002-05-21 17:00             ` Greg Lindahl
2002-05-20 19:05         ` Ralf Baechle
2002-05-19 19:24   ` Ralf Baechle
2002-05-19 19:23 ` Ralf Baechle
2002-05-20  6:05   ` Matthew Dharm
2002-05-20 20:30     ` Ralf Baechle

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=3CE3E8BA.8080002@mvista.com \
    --to=jsun@mvista.com \
    --cc=dan@debian.org \
    --cc=kevink@mips.com \
    --cc=linux-mips@oss.sgi.com \
    --cc=mdharm@momenco.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox