From: "Joseph A. Knapka" <jknapka@earthlink.net>
To: Timur Tabi <ttabi@interactivesi.com>
Cc: linux-mm@kvack.org
Subject: Re: temp. mem mappings
Date: Tue, 05 Jun 2001 16:27:40 -0600 [thread overview]
Message-ID: <3B1D5CDC.966285C1@earthlink.net> (raw)
In-Reply-To: <bYPDZD.A.c3.-gUH7@dinero.interactivesi.com>
Timur Tabi wrote:
>
> ** Reply to message from cohutta <cohutta@MailAndNews.com> on Tue, 5 Jun 2001
> 16:42:52 -0400
>
> > I don't really want to play with the page tables if i can help it.
> > I didn't use ioremap() because it's real system memory, not IO bus
> > memory.
> >
> > How much normal memory is identity-mapped at boot on x86?
> > Is it more than 8 MB?
>
> Much more. Somewhere between 2 and 4 GB is mapped. Large memory support in
> Linux has always confused me, so I can't remember exactly how much is mapped.
On x86, it's a little less than 1GB (4G-PAGE_OFFSET-<a little bit for
fixmaps,
kmap, vmalloc>); PAGE_OFFSET is 3GB by default. There is some stuff that
happens
before that mapping is done, though. All you can absolutely count on
when you
first enter 32-bit mode is the low 8MB. setup_arch() in
arch/i386/kernel/setup.c
is the place to look if you want to be sure; paging_init() is called
from there.
-- Joe
-- Joseph A. Knapka
"You know how many remote castles there are along the gorges? You
can't MOVE for remote castles!" -- Lu Tze re. Uberwald
// Linux MM documentation in progress:
// http://home.earthlink.net/~jknapka/linux-mm/vmoutline.html
* Evolution is an "unproven theory" in the same sense that gravity is. *
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux-mm.org/
next prev parent reply other threads:[~2001-06-05 22:27 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-06-05 20:42 cohutta
2001-06-05 20:59 ` Timur Tabi
2001-06-05 22:27 ` Joseph A. Knapka [this message]
2001-06-06 8:23 ` Stephen C. Tweedie
-- strict thread matches above, loose matches on Subject: below --
2001-06-11 16:32 cohutta
2001-06-25 6:52 ` Eric W. Biederman
2001-06-08 1:38 cohutta
2001-06-08 17:02 ` Joseph A. Knapka
2001-06-08 18:07 ` Stephen C. Tweedie
2001-06-08 21:22 ` Joseph A. Knapka
2001-06-06 21:14 cohutta
2001-06-07 10:00 ` Stephen C. Tweedie
2001-06-05 17:54 cohutta
2001-06-05 18:25 ` Timur Tabi
2001-06-05 18:41 ` Stephen C. Tweedie
2001-06-05 18:51 ` Timur Tabi
2001-06-05 18:59 ` Stephen C. Tweedie
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=3B1D5CDC.966285C1@earthlink.net \
--to=jknapka@earthlink.net \
--cc=linux-mm@kvack.org \
--cc=ttabi@interactivesi.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