s390/vmalloc: have separate modules area
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Fri, 5 Oct 2012 14:52:18 +0000 (16:52 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Tue, 9 Oct 2012 12:17:01 +0000 (14:17 +0200)
commitc972cc60c23f5a6309292bfcc91a441743ba027e
tree04f8fc1d4e78979d28a897a90bba5c3321555967
parent021d48be48481821f6e3f53028915c0571874135
s390/vmalloc: have separate modules area

Add a special module area on top of the vmalloc area, which may be only
used for modules and bpf jit generated code.
This makes sure that inter module branches will always happen without a
trampoline and in addition having all the code within a 2GB frame is
branch prediction unit friendly.

Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/include/asm/pgtable.h
arch/s390/kernel/module.c
arch/s390/kernel/setup.c
arch/s390/mm/dump_pagetables.c