Home
last modified time | relevance | path

Searched hist:be9b7335e70696bee731c152429b1737e42fe163 (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/include/linux/
H A Dvmalloc.hdiff be9b7335e70696bee731c152429b1737e42fe163 Wed Aug 24 23:24:21 CDT 2011 Nicolas Pitre <nicolas.pitre@linaro.org> mm: add vm_area_add_early()

The existing vm_area_register_early() allows for early vmalloc space
allocation. However upcoming cleanups in the ARM architecture require
that some fixed locations in the vmalloc area be reserved also very early.

The name "vm_area_register_early" would have been a good name for the
reservation part without the allocation. Since it is already in use with
different semantics, let's create vm_area_add_early() instead.

Both vm_area_register_early() and vm_area_add_early() can be used together
meaning that the former is now implemented using the later where it is
ensured that no conflicting areas are added, but no attempt is made to
make the allocation scheme in vm_area_register_early() more sophisticated.
After all, you must know what you're doing when using those functions.

Signed-off-by: Nicolas Pitre <nicolas.pitre@linaro.org>
Acked-by: Andrew Morton <akpm@linux-foundation.org>
Cc: linux-mm@kvack.org
/openbmc/linux/mm/
H A Dvmalloc.cdiff be9b7335e70696bee731c152429b1737e42fe163 Wed Aug 24 23:24:21 CDT 2011 Nicolas Pitre <nicolas.pitre@linaro.org> mm: add vm_area_add_early()

The existing vm_area_register_early() allows for early vmalloc space
allocation. However upcoming cleanups in the ARM architecture require
that some fixed locations in the vmalloc area be reserved also very early.

The name "vm_area_register_early" would have been a good name for the
reservation part without the allocation. Since it is already in use with
different semantics, let's create vm_area_add_early() instead.

Both vm_area_register_early() and vm_area_add_early() can be used together
meaning that the former is now implemented using the later where it is
ensured that no conflicting areas are added, but no attempt is made to
make the allocation scheme in vm_area_register_early() more sophisticated.
After all, you must know what you're doing when using those functions.

Signed-off-by: Nicolas Pitre <nicolas.pitre@linaro.org>
Acked-by: Andrew Morton <akpm@linux-foundation.org>
Cc: linux-mm@kvack.org