Fix for 32-bit ARM kernels that are configured with CONFIG_SLAB

and contain percpu array_cache structures that were allocated with
vmalloc().  Without the patch, during session initialization there
will be error messages of the form: "crash: kmem_cache: <vaddr>:
invalid array_cache pointer: <vaddr>", and during runtime, the
"kmem -[sS]" commands will show kmem_cache lines that marked as
"[INVALID/CORRUPTED]".
(anderson@redhat.com)
This commit is contained in:
Dave Anderson 2015-12-02 11:24:32 -05:00
parent c4887936fa
commit 9ef911789a
1 changed files with 1 additions and 0 deletions

1
arm.c
View File

@ -1539,6 +1539,7 @@ arm_dump_backtrace_entry(struct bt_info *bt, int level, ulong from, ulong sp)
static ulong
arm_vmalloc_start(void)
{
machdep->machspec->vmalloc_start_addr = vt->high_memory;
return vt->high_memory;
}