Re: [PATCH 1/1] selftests: mm: hugepage-vmemmap fails on 64K page size systems.

2024-01-10 Thread Muchun Song
> On Jan 10, 2024, at 23:53, Andrew Morton wrote: > > (cc Muchun) > On Wed, 10 Jan 2024 14:03:35 +0530 Donet Tom > wrote: > >> The kernel sefltest mm/hugepage-vmemmap fails on architectures >> which has different page size other than 4K. In hugepage-vmemmap >> page size used is 4k so the pf

[PATCH 1/1] selftests: mm: hugepage-vmemmap fails on 64K page size systems.

2024-01-10 Thread Donet Tom
The kernel sefltest mm/hugepage-vmemmap fails on architectures which has different page size other than 4K. In hugepage-vmemmap page size used is 4k so the pfn calculation will go wrong on systems which has different page size .The length of MAP_HUGETLB memory must be hugepage aligned but in hugepa

Re: [PATCH 1/1] selftests: mm: hugepage-vmemmap fails on 64K page size systems.

2024-01-10 Thread Andrew Morton
(cc Muchun) On Wed, 10 Jan 2024 14:03:35 +0530 Donet Tom wrote: > The kernel sefltest mm/hugepage-vmemmap fails on architectures > which has different page size other than 4K. In hugepage-vmemmap > page size used is 4k so the pfn calculation will go wrong on systems > which has different page si