Re: Does ZONE_HIGHMEM exist on machines with 1G memeory

From: Robert Love
Date: Tue Sep 21 2004 - 23:57:42 EST


On Wed, 2004-09-22 at 00:39 -0400, Ronghua Zhang wrote:

> But why cannot we simply map the whole physical memory into the 1GB
> kernel virtual address space? In this case, we don't need to reserve any
> address space for the permanent or temporary mapping. Am I missing
> something here? Thanks

It is because of how the mappings work and where PAGE_OFFSET is.

With some hacking you can definitely use all 1GB without HIGHMEM, but
you would not be able to use more than 1GB. And it would break ABI, at
least for modules.

Robert Love


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/