• C
    [S390] Change vmalloc defintions · 5fd9c6e2
    Christian Borntraeger 提交于
    Currently the vmalloc area starts at a dynamic address depending on
    the memory size. There was also an 8MB security hole after the
    physical memory to catch out-of-bounds accesses.
    We can simplify the code by putting the vmalloc area explicitely at
    the top of the kernel mapping and setting the vmalloc size to a fixed
    value of 128MB/128GB for 31bit/64bit systems. Part of the vmalloc
    area will be used for the vmem_map. This leaves an area of 96MB/1GB
    for normal vmalloc allocations.
    Signed-off-by: NChristian Borntraeger <borntraeger@de.ibm.com>
    Signed-off-by: NMartin Schwidefsky <schwidefsky@de.ibm.com>
    5fd9c6e2
vmem.c 8.5 KB