android_kernel_xiaomi_sm8350/arch/alpha
Tejun Heo f0aa661790 vmalloc: implement vm_area_register_early()
Impact: allow multiple early vm areas

There are places where kernel VM area needs to be allocated before
vmalloc is initialized.  This is done by allocating static vm_struct,
initializing several fields and linking it to vmlist and later vmalloc
initialization picking up these from vmlist.  This is currently done
manually and if there's more than one such areas, there's no defined
way to arbitrate who gets which address.

This patch implements vm_area_register_early(), which takes vm_area
struct with flags and size initialized, assigns address to it and puts
it on the vmlist.  This way, multiple early vm areas can determine
which addresses they should use.  The only current user - alpha mm
init - is converted to use it.

Signed-off-by: Tejun Heo <tj@kernel.org>
2009-02-20 16:29:08 +09:00
..
boot inflate: refactor inflate malloc code 2008-07-25 10:53:28 -07:00
include/asm alpha: fixup BUG macro 2009-02-05 12:56:49 -08:00
kernel Merge branch 'linus' into core/percpu 2009-01-30 18:23:30 +01:00
lib
math-emu
mm vmalloc: implement vm_area_register_early() 2009-02-20 16:29:08 +09:00
oprofile oprofile: more whitespace fixes 2008-10-15 20:55:51 +02:00
defconfig
Kconfig alpha: use syscall wrappers 2009-01-29 18:04:44 -08:00
Kconfig.debug
Makefile