Home
last modified time | relevance | path

Searched hist:a686425b31bb6441f6e20d698bf31dc65043f61f (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/arch/s390/mm/
H A Dhugetlbpage.cdiff a686425b31bb6441f6e20d698bf31dc65043f61f Wed May 09 09:27:37 CDT 2012 Gerald Schaefer <gerald.schaefer@de.ibm.com> s390/hugepages: clear page table for sw large page emulation

The software large page emulation on s390 did not clear the the
pre-allocated page table in arch_release_hugepage() before freeing
it. This could trigger the WARN_ON(!pte_none(*pte) in mm/vmalloc.c:106
and make vmap_pte_range() fail, because the page table could be reused
in page_table_alloc(). This is fixed now by calling clear_table()
before page_table_free().

Signed-off-by: Gerald Schaefer <gerald.schaefer@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>