From: Ralf Baechle <ralf@linux-mips.org>
To: Hdei Nunoe <nunoe@co-nss.co.jp>
Cc: linux-mips@linux-mips.org
Subject: Re: HIGHMEM
Date: Tue, 7 Dec 2004 10:58:37 +0100 [thread overview]
Message-ID: <20041207095837.GA13264@linux-mips.org> (raw)
In-Reply-To: <001101c4dbf9$1da02270$3ca06096@NUNOE>
On Tue, Dec 07, 2004 at 10:07:26AM +0900, Hdei Nunoe wrote:
> Has anyone succeeded the HIGHMEM with discontiguous physical memory?
> I am using kernel 2.4.18 on TX4937 with two chunks of 256Mbyte memory.
> There is 256Mbyte gap in between the physical memory blocks - lower
> memory is 0x00000000 to 0x10000000, upper memory is 0x20000000 to
> 0x30000000. System hungs when it create INIT process.
In 2.4 the support for CONFIG_DISCONTIG and CONFIG_NUMA are a bit tangled
with each other because IP27 is the only platform to uses these features
and it needs both. Other than that you can also just setup your system
as 0x0 - 0x10000000 being RAM, 0x10000000 - 0x20000000 being reserved
memory and 0x20000000 - 0x30000000 being highmem. Which works but is a
bit wasteful.
Issue #2 is that we don't support the combination of CONFIG_DISCONTIG and
CONFIG_HIGHMEM. And highmem is a lobotomized solution for lobotomized
silicon anyway. You have a 64-bit processor - use it's capabilities :-)
Issue #3 - As I recall the TX4937's H3 core is suffering from cache
aliases. Handling those efficiently for highmem is not easily possible
and so we don't even try. More recent kernels will refuse to enable
highmem on such cache configurations but something like 2.4.18 which by
now is an almost 3 year old antique doesn't know about that and will
happily crash.
I recommend you should go for a 64-bit kernel instead. And 64-bit support
is certainly better in 2.6 than in 2.4. Especially the area of 32-bit
binary compatibility has been improved significantly.
Ralf
next prev parent reply other threads:[~2004-12-07 9:59 UTC|newest]
Thread overview: 33+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-12-07 1:07 HIGHMEM Hdei Nunoe
2004-12-07 1:07 ` HIGHMEM Hdei Nunoe
2004-12-07 9:17 ` HIGHMEM Jan-Benedict Glaw
2004-12-07 9:56 ` HIGHMEM Hdei Nunoe
2004-12-07 9:56 ` HIGHMEM Hdei Nunoe
2004-12-07 10:02 ` HIGHMEM Jan-Benedict Glaw
2004-12-07 9:58 ` Ralf Baechle [this message]
2004-12-13 4:34 ` HIGHMEM Atsushi Nemoto
2004-12-15 14:16 ` HIGHMEM Ralf Baechle
2004-12-21 14:33 ` HIGHMEM Atsushi Nemoto
2004-12-21 23:51 ` MIPS32 -> MIPS64 Hdei Nunoe
2004-12-21 23:51 ` Hdei Nunoe
2004-12-24 7:33 ` Atsushi Nemoto
2004-12-14 4:26 ` HIGHMEM Hdei Nunoe
2004-12-14 4:26 ` HIGHMEM Hdei Nunoe
2004-12-15 14:15 ` HIGHMEM Ralf Baechle
2005-01-11 2:33 ` HIGHMEM Hdei Nunoe
2005-01-11 2:33 ` HIGHMEM Hdei Nunoe
2005-01-11 10:34 ` HIGHMEM Ralf Baechle
2005-01-11 10:38 ` HIGHMEM Geert Uytterhoeven
2005-01-11 13:51 ` HIGHMEM Ralf Baechle
[not found] <003801c4dc45$f9212690$2203a8c0@qfree.com>
2004-12-07 10:29 ` HIGHMEM Jon Anders Haugum
2004-12-15 14:18 ` HIGHMEM Ralf Baechle
-- strict thread matches above, loose matches on Subject: below --
2004-02-13 12:20 HIGHMEM Nagy Tibor
2004-02-13 13:12 ` HIGHMEM Sean Neakums
2004-02-13 16:05 ` HIGHMEM Martin J. Bligh
2004-02-13 22:09 ` HIGHMEM Matt Domsch
2004-02-13 22:18 ` HIGHMEM Martin J. Bligh
2004-02-13 17:08 ` HIGHMEM david parsons
2004-02-13 13:36 ` HIGHMEM Matt Domsch
2003-04-15 14:39 HIGHMEM Nagy Tibor
2003-04-15 15:14 ` HIGHMEM William Lee Irwin III
2003-04-15 16:03 ` HIGHMEM Samuel Flory
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=20041207095837.GA13264@linux-mips.org \
--to=ralf@linux-mips.org \
--cc=linux-mips@linux-mips.org \
--cc=nunoe@co-nss.co.jp \
/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.