Re: Kernel vs user memory

From: H. Peter Anvin
Date: Sat Jan 17 2009 - 01:27:10 EST


sidc7 wrote:
> The kernel maintains a free list of pages that are free in physical memory. I
> was wondering, are these pages in the kernel space ? They are not mapped to
> any of the user address space for sure, so will they be in the kernel memory
> ?

On a non-highmem kernel, they will be -- ALL memory is mapped in kernel
space on non-highmem kernels. For highmem kernels, they will generally
not be mapped at all, unless they are lowmem pages.

-hpa

--
H. Peter Anvin, Intel Open Source Technology Center
I work for Intel. I don't speak on their behalf.

--
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/