From: "唐 宇" <ytang5@hotmail.com>
To: linux-ia64@vger.kernel.org
Subject: Re: [Linux-ia64] about linux/ia64 mm
Date: Fri, 30 Nov 2001 06:31:38 +0000 [thread overview]
Message-ID: <marc-linux-ia64-105590698805565@msgid-missing> (raw)
In-Reply-To: <marc-linux-ia64-105590698805562@msgid-missing>
thx a lot first;
and as _pa(x) is defined to ((x)-PAGE_OFFSET), so i think, kernel space
from PAGE_OFFSET to (PAGE_OFFSET + Size of Memroy) should be mapped
directly to 0 -Size of Memory; so what happens if codes access address
returned by functions such as get_free_pages()(it should range in
[PAGE_OFFSET,PAGE_OFFSET+...])? how could it be translated by MMU?
and what you mean, there are both 64M-page and configurable
PAGE_SIZE(4,8k,etc) for Region 7? or i just missed something?
rgds
>From: David Mosberger <davidm@hpl.hp.com>
>Reply-To: davidm@hpl.hp.com
>To: "唐 宇" <ytang5@hotmail.com>
>CC: linux-ia64@linuxia64.org
>Subject: Re: [Linux-ia64] about linux/ia64 mm
>Date: Thu, 29 Nov 2001 21:43:18 -0800
>
> >>>>> On Thu, 29 Nov 2001 23:19:53 +0800, "=?gb2312?B?zMYg0+4=?="
<ytang5@hotmail.com> said:
>
> Tang> hi all, i was a little confused by linux/ia64 mm; as i know,
> Tang> linux requires physical memory to be mapped contiguously to
> Tang> kernel space( don't care highmem); and PAGE_OFFSET is defined
> Tang> to 0xe000000000000000 in linux/ia64; that's region 7, its page
> Tang> size is fixed to 64M(2.4.12). how could __get_free_pages()
> Tang> allocate such a big _page_? it's absolutely impossible. so i
> Tang> think i made a big mistake somewhere, would someone help me
> Tang> out? thx :-)
>
>The page allocator works at the page frame level, which can be
>configured to have a size of 4, 8, 16, or 64KB. The large TLB
>mappings are used merely to access the underlying memory (think of it
>as a physical address space with a non-zero starting address).
>
> --david
_________________________________________________________________
您可以在 MSN Hotmail 站点 http://www.hotmail.com/cn 免费收发电子邮件
next prev parent reply other threads:[~2001-11-30 6:31 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-11-29 15:19 [Linux-ia64] about linux/ia64 mm 唐 宇
2001-11-30 5:43 ` David Mosberger
2001-11-30 6:31 ` 唐 宇 [this message]
2001-12-03 10:01 ` 唐 宇
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=marc-linux-ia64-105590698805565@msgid-missing \
--to=ytang5@hotmail.com \
--cc=linux-ia64@vger.kernel.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