On 07/13/23 10:34, Andrew Morton wrote:
The patch titled Subject: hugetlb: optimize update_and_free_pages_bulk to avoid lock cycles has been added to the -mm mm-hotfixes-unstable branch. Its filename is hugetlb-optimize-update_and_free_pages_bulk-to-avoid-lock-cycles.patch
Muchun pointed out that this patch does not address the issue raised by Jiaqi Yan. In fact, I accidentally sent the wrong (previous) version of the patch. I mentioned that while getting ready to send the correct version, I noticed another race window. I am currently finishing some testing on that.
Bottom line is that this patch should not move forward.
A new version will be sent and I will attempt to answer your questions about introducing a performance regression.
Sorry for any confusion,