[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <2a55024b-509d-4bd9-81f4-c883858e110a@redhat.com>
Date: Wed, 25 Jun 2025 14:22:05 +0200
From: David Hildenbrand <david@...hat.com>
To: Lorenzo Stoakes <lorenzo.stoakes@...cle.com>, Dev Jain <dev.jain@....com>
Cc: akpm@...ux-foundation.org, ziy@...dia.com, baolin.wang@...ux.alibaba.com,
Liam.Howlett@...cle.com, npache@...hat.com, ryan.roberts@....com,
baohua@...nel.org, linux-mm@...ck.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 1/3] khugepaged: Optimize
__collapse_huge_page_copy_succeeded() by PTE batching
> if (folio_test_large(src)) {
> int max_nr_ptes = (end - address) >> PAGE_SHIFT;
>
> nr_ptes = folio_pte_batch(src, address, _pte,
> pteval, max_nr_ptes,
> flags, NULL, NULL, NULL);
> }
>
> BTW I think David raised it, but is there a way to wrap folio_pte_batch() to not
> have to NULL, NULL, NULL here? :)
I'm working on a cleanup for all that. So stay tuned :)
--
Cheers,
David / dhildenb
Powered by blists - more mailing lists