• Hugh Dickins's avatar
    page_mapping must avoid slub pages · b9bae340
    Hugh Dickins authored
    Nicolas Ferre reports oops from flush_dcache_page() on ARM when using
    SLUB: which reuses page->mapping as page->slab.  The page_mapping()
    function, used by ARM and PA-RISC flush_dcache_page() implementations,
    must not confuse SLUB pages with those which have page->mapping set.
    Signed-off-by: default avatarHugh Dickins <hugh@veritas.com>
    Cc: Nicolas Ferre <nicolas.ferre@rfo.atmel.com>
    Cc: Christoph Lameter <clameter@sgi.com>
    Cc: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
    b9bae340
mm.h 41 KB