Thread (5 messages) flat view 5 messages, 2 authors, 2017-02-20

Re: [PATCH] powerpc/mm/hugetlb: Filter out hugepage size not supported by page table layout

From: Aneesh Kumar K.V <hidden>
Date: 2017-02-20 05:36:56

Benjamin Herrenschmidt [off-list ref] writes:
On Mon, 2017-02-20 at 09:02 +0530, Aneesh Kumar K.V wrote:
quoted
To avoid crashes like the one reported in the commit message due to=C2=A0
buggy firmware ?=20
I don't want Linux to make those assumptions. We should fix the FW.
I was not suggesting to not fix FW. The idea was two fold.

We cannot support different hugetlb page sizes. They need to
be supported at linux page table level. So a generic check like
is_power_of_2/4() may not be what we want. The second is to document
clearly what are the different page sizes supported by a platform.

-aneesh
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help