From: "Raymond B. Jennings III" <raymondj@watson.ibm.com>
To: linux-mm@kvack.org
Subject: help with highmem
Date: Tue, 20 Nov 2001 14:52:45 -0500 [thread overview]
Message-ID: <3BFAB48D.1A772321@watson.ibm.com> (raw)
I was wondering why if CONFIG_HIGHMEM is NOT turned on, the vmalloc area
goes almost to the end of the 4GB boundary:
VMALLOC_END = FIXADDR_START - 2*PAGE_SIZE
- or -
VMALLOC_END = (FIXADDR_TOP - FIXADDR_SIZE) - 2*PAGE_SIZE
- or - (on my particular setup)
VMALLOC_END = (FFFFE000h - 4*PAGE_SIZE) - 2*PAGE_SIZE
In any case it is pretty close to the 4GB boundary
BUT when you have CONFIG_HIGHMEM turned on:
VMALLOC_END = PKMAP_BASE - 2*PAGE_SIZE
I realize you need room for the pkmap_count array but the array only
allows for 1024 pages.
If PKMAP_BASE = FE000000h then this fills the address space upto
FE400000. What is being used in the remaining section of the address
space?
Couldn't PKMAP_BASE be moved up (allow for a larger vmalloc area) or
enlarge the pkmap_count array up to the point of VMALLOC_END as when
CONFIG_HIGHMEM is turned off?
Thanks for any help.
--
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/
reply other threads:[~2001-11-20 19: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=3BFAB48D.1A772321@watson.ibm.com \
--to=raymondj@watson.ibm.com \
--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