* help with highmem
@ 2001-11-20 19:52 Raymond B. Jennings III
0 siblings, 0 replies; only message in thread
From: Raymond B. Jennings III @ 2001-11-20 19:52 UTC (permalink / raw)
To: linux-mm
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/
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2001-11-20 19:49 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-11-20 19:52 help with highmem Raymond B. Jennings III
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox