linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: Colin McCormack <colin@field.medicine.adelaide.edu.au>
To: linux-mm@kvack.org
Subject: 2.2.11 - the new physical memory `fix' / i386
Date: Thu, 19 Aug 1999 01:49:11 +1000	[thread overview]
Message-ID: <19990818154935Z17786-657+3@eeyore.kvack.org> (raw)

Hi,

According to /proc/maps, the kernel mmaps the range of addresses up to and 
including 0x80000000 if you tell config you have 2Gb of physical RAM.  I 
suppose it mmaps up to and including 0x40000000 if you tell it you have 1Gb, 
and 0xC0000000 if you tell it you have 3Gb.

Leaving aside the question of why it should be mmapping like this at all ... 
is there some good reason you would want a machine with (say) 2GB of ram to 
have a map including the first byte of the 3rd gigabyte of address space?

I suspect there's an off-by-one error, and the map should end within the 
stated range (e.g. 0x40000000-1).  This causes me problems in ColdStore, 
http://field.medicine.adelaide.edu.au/~colin/coldstore, where I'd like to be 
able to map in some memory at a fixed address, and 0x40000000 looks a lot 
better than 0x40000000 + 4096.

Incidentally, as far as fixing the problem of linux not handling 2GB of RAM, 
there's a much simpler way:  send 1/2 of it to me :)

Colin.




--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://humbolt.geo.uu.nl/Linux-MM/

                 reply	other threads:[~1999-08-18 15:49 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=19990818154935Z17786-657+3@eeyore.kvack.org \
    --to=colin@field.medicine.adelaide.edu.au \
    --cc=linux-mm@kvack.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