Thread (2 messages) 2 messages, 2 authors, 2012-10-17

why the kernel need define ZONE_HIGHEM

From: Mulyadi Santosa <hidden>
Date: 2012-10-17 16:17:58

Hi...

On Wed, Oct 17, 2012 at 5:39 PM, Fan Yang [off-list ref] wrote:
HI ALL:
    I don't knowe why the linux designer need to define the ZONE_HIGHEM, and
why they defined it 896M.
my understanding about ZONE_HIGHMEM is that it is simply a pool of
pages, grouped so you can quickly know that if you want to use them,
you need to kmap() them first because they are normally beyond kernel
addressable space

896? simple, because that is the upper border of kernel addressable
space range. actually, it's 1 GiB, but since 128 MiB are reserved for
various need: vmalloc, kmap mapping etc, then you get 1 GiB - 128
MiB--> there you go 128 MiB

-- 
regards,

Mulyadi Santosa
Freelance Linux trainer and consultant

blog: the-hydra.blogspot.com
training: mulyaditraining.blogspot.com
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help