[PATCH] powerpc/mm/hugetlb: Filter out hugepage size not supported by page table layout
Benjamin Herrenschmidt
benh at kernel.crashing.org
Mon Feb 20 14:35:46 AEDT 2017
On Mon, 2017-02-20 at 09:02 +0530, Aneesh Kumar K.V wrote:
> To avoid crashes like the one reported in the commit message due to
> buggy firmware ?
I don't want Linux to make those assumptions. We should fix the FW.
Think of backward compat for example.
> Also
> It can serve as an easy way to understand what hugepage sizes are
> supported by different platforms.
> I am yet to figure out what the FSL_BOOK3E and PPC_8xx #ifdef above
> that
> hunk is all about. Having
> the supported hugepage size clearly verified against makes it easy ?
>
> -aneesh
More information about the Linuxppc-dev
mailing list