From: Naresh <knaresh@india.hp.com>
To: Matthew Wilcox <willy@debian.org>
Cc: parisc-linux@lists.parisc-linux.org
Subject: Re: [parisc-linux] MAX_ADDRESS.
Date: Tue, 30 Sep 2003 17:54:30 +0530 [thread overview]
Message-ID: <3F7975FE.58C276D9@india.hp.com> (raw)
In-Reply-To: 20030930120636.GV24824@parcelfarce.linux.theplanet.co.uk
MAX_ADDRESS has nothing to do with DISCONTIGMEM. Its definition is generic(
pgtable.h), although it is not used anywhere. I just happened to see the comment in
the DISCONTIGMEM code. Even if DISCONTIGMEM is turned off, there is no check for
MAX_ADDRESS before the call to 'map_pages()' in 'pagetable_init( )', which is why I
would like to know if MAX_ADDRESS can be ignored.
Regards,
Naresh.
Matthew Wilcox wrote:
> On Tue, Sep 30, 2003 at 11:03:28AM +0530, Naresh wrote:
> > This question is relevant to the 2.4 kernel. Is MAX_ADDRESS really the
> > highest virtual address mapped by the kernel? I can see this comment in
> > 'paging_init()' in the section for DISCONTIGMEM. However,
> > pagetable_init() doesnt make a check before it calls 'map_pages( )' for
> > all the ranges of memory. So we may DISCONTIGMEM turned off but it may
> > so happen that we have a 'pmem_ranges[]' entry that is greater than
> > MAX_ADDRESS which may find its way into the kernel page tables.
>
> Ignore the DISCONTIGMEM code. It's completely broken (and we offer no
> way to turn CONFIG_DISCONTIGMEM on).
>
> I'm not sure what half of this code is for; you'd need to ask John Marvin
> who wrote it.
>
> --
> "It's not Hollywood. War is real, war is primarily not about defeat or
> victory, it is about death. I've seen thousands and thousands of dead bodies.
> Do you think I want to have an academic debate on this subject?" -- Robert Fisk
> _______________________________________________
> parisc-linux mailing list
> parisc-linux@lists.parisc-linux.org
> http://lists.parisc-linux.org/mailman/listinfo/parisc-linux
next prev parent reply other threads:[~2003-09-30 12:25 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-09-30 5:33 [parisc-linux] MAX_ADDRESS Naresh
2003-09-30 12:06 ` Matthew Wilcox
2003-09-30 12:24 ` Naresh [this message]
2003-09-30 13:17 ` James Bottomley
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=3F7975FE.58C276D9@india.hp.com \
--to=knaresh@india.hp.com \
--cc=parisc-linux@lists.parisc-linux.org \
--cc=willy@debian.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