Re: [RFC PATCH 04/12] khugepaged: Generalize __collapse_huge_page_swapin()

Matthew Wilcox
2024-12-17T04:24:20Z

On Mon, Dec 16, 2024 at 10:20:57PM +0530, Dev Jain wrote:
> - unsigned long address, end = haddr + (HPAGE_PMD_NR * PAGE_SIZE);
> + unsigned long address, end = addr + ((1UL << order) * PAGE_SIZE);

addr + (PAGE_SIZE << order);