]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit563ef45f7af3e8fd3bb75224a6bd32f0d83be038
tree04f8fc1d4e78979d28a897a90bba5c3321555967
parent86bb600dd17995221c6a2206e58d5dfda2115f90
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