On Wed, Sep 02, 2026 at 12:29:32PM -0700, Andrew Morton wrote: > On Wed, 2 Sep 2026 18:56:11 +0100 Yeoreum Yun <[email protected]> wrote: > > > HPAGE_SIZE and HPAGE_SHIFT macro is written based on the 4KB PAGE_SIZE. > > When this macro is used in some test, test result would be strange in > > the system where PAGE_SIZE is more than 4KB. > > > > Here is example with transhuge-stress test with 16KB PAGE_SIZE: > > > > ... > > > > ok 1 Completed > > > > Remove the HPAGE_SIZE and HPAGE_SHIFT macro. and introduce hpshift() > > helper to get the HPAGE_SHIFT properly. For HPAGE_SIZE, use pre-exist > > helper, read_pmd_pagesize(). > > > > Also, do KSM_MERGE_TIME_HUGE_PAGES test with size of 512 MiB which > > is the LCD pmd_size among 4KB, 16KB and 64KB page_size. > > > > After this patch, output of transhuge-stress: > > > > ... > > > > ok 1 Completed > > Thanks. Sashiko made claims. The first looks legit, although minor: > > https://sashiko.dev/#/patchset/[email protected]
Thanks! I'll fix! -- Sincerely, Yeoreum Yun
