Thread (12 messages) flat view 12 messages, 7 authors, 2017-06-26

Re: 1M hugepage size being registered on Linux

From: Michael Ellerman <mpe@ellerman.id.au>
Date: 2017-06-23 05:26:25

Michal Such=C3=A1nek [off-list ref] writes:
On Tue, 20 Jun 2017 10:47:47 -0300
victora [off-list ref] wrote:
quoted
Hi Alistair/Jeremy,
=20
I am working on a bug related to 1M hugepage size being registered on=20
Linux (Power 8 Baremetal - Garrison).
=20
I was checking dmesg and it seems that 1M page size is coming from=20
firmware to Linux.
=20
[    0.000000] base_shift=3D20: shift=3D20, sllp=3D0x0130,
avpnm=3D0x00000000, tlbiel=3D0, penc=3D2
[    1.528867] HugeTLB registered 1 MB page size, pre-allocated 0
pages
=20
Should Linux support this page size? As afar as I know, this was an=20
unsupported page size in the past isn't it? If this should be
supported now, is there any specific reason for that?
Hello,

a525108cf1cc powerpc/mm/hugetlb: Filter out hugepage size not supported
by page table layout

Should reject unsupported huge page sizes, right?
Yes, see my reply.

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