[RFC 0/4] Intermix Lowmem and vmalloc

Russell King - ARM Linux linux at arm.linux.org.uk
Mon Nov 11 19:13:15 EST 2013


On Mon, Nov 11, 2013 at 03:26:48PM -0800, Laura Abbott wrote:
> Hi,
> 
> This is an RFC for a feature to allow lowmem and vmalloc virtual address space
> to be intermixed. This has currently only been tested on a narrow set of ARM
> chips.
> 
> Currently on 32-bit systems we have
> 
> 
>                   Virtual                             Physical
> 
>    PAGE_OFFSET   +--------------+     PHYS_OFFSET   +------------+
>                  |              |                   |            |
>                  |              |                   |            |
>                  |              |                   |            |
>                  | lowmem       |                   |  direct    |
>                  |              |                   |   mapped   |
>                  |              |                   |            |
>                  |              |                   |            |
>                  |              |                   |            |
>                  +--------------+------------------>x------------>
>                  |              |                   |            |
>                  |              |                   |            |
>                  |              |                   |  not-direct|
>                  |              |                   | mapped     |
>                  | vmalloc      |                   |            |
>                  |              |                   |            |
>                  |              |                   |            |
>                  |              |                   |            |
>                  +--------------+                   +------------+
> 
> Where part of the virtual spaced above PHYS_OFFSET is reserved for direct
> mapped lowmem and part of the virtual address space is reserved for vmalloc.

Minor nit...

ITYM PAGE_OFFSET here.  vmalloc space doesn't exist in physical memory.




More information about the linux-arm-kernel mailing list