Re: [RFC PATCH 1/6] selftest/mremap_test: Update the test to handle pagesize other than 4K

2021-02-02 Thread Li Xinhai
what is the overall purpose of this patch set? maybe need a cover letter? On 2/2/21 5:11 PM, Aneesh Kumar K.V wrote: Instead of hardcoding 4K page size fetch it using sysconf(). For the performance measurements test still assume 2M and 1G are hugepage sizes. Signed-off-by: Aneesh Kumar K.V ---

Re: [RFC PATCH 1/6] selftest/mremap_test: Update the test to handle pagesize other than 4K

2021-02-02 Thread Aneesh Kumar K.V
On 2/2/21 6:59 PM, Li Xinhai wrote: what is the overall purpose of this patch set? maybe need a cover letter? The goal of the patch series was to enable MOVE_PMD/PUD on ppc64. But the series itself achieves that by fixing the existing code rather than adding changes to arch/ppc64. With that

[RFC PATCH 1/6] selftest/mremap_test: Update the test to handle pagesize other than 4K

2021-02-02 Thread Aneesh Kumar K.V
Instead of hardcoding 4K page size fetch it using sysconf(). For the performance measurements test still assume 2M and 1G are hugepage sizes. Signed-off-by: Aneesh Kumar K.V --- tools/testing/selftests/vm/mremap_test.c | 113 --- 1 file changed, 61 insertions(+), 52 deletions