Re: [linus:master] [mm] c0bff412e6: stress-ng.clone.ops_per_sec -2.9% regression
From: David Hildenbrand
Date: Thu Aug 01 2024 - 03:54:37 EST
On 01.08.24 09:44, Yin, Fengwei wrote:
Hi David,
On 8/1/2024 2:49 PM, David Hildenbrand wrote:
We now have to do a page_folio(page) and then test for hugetlb.
return folio_test_hugetlb(page_folio(page));
Nowadays, folio_test_hugetlb() will be faster than at c0bff412e6 times,
so maybe at least part of the overhead is gone.
This is great. We will check the trend to know whether it's recovered
in some level.
Oh, I think d99e3140a4d33e26066183ff727d8f02f56bec64 went upstream
before c0bff412e67b781d761e330ff9578aa9ed2be79e, so at the time of
c0bff412e6 we already should have had the faster check!
--
Cheers,
David / dhildenb