• Andrew Morton's avatar
    [PATCH] Give all architectures a hugetlb_nopage(). · 08a1cc4e
    Andrew Morton authored
    If someone maps a hugetlbfs file, then truncates it, then references the part
    of the mapping outside the truncation point, they take a pagefault and we end
    up hitting hugetlb_nopage().
    
    We want to prevent this from ever happening.  This patch just makes sure that
    all architectures have a goes-BUG hugetlb_nopage() to trap it.
    08a1cc4e
hugetlbpage.c 10.4 KB