On Wed, Mar 06, 2024 at 03:58:31PM +0800, Miaohe Lin wrote: > > - We could grab a reference. That would probaby be unwelcome. > > - We can grab a snapshot. Might be a bit overkill. > > - We can grab the parts of the page/folio we need and open-code our > > tests. This actually seems easiest. > > Option 3 should be the easiest way to fix the issue though it seems the code would be slightly ugly. > Will you send a formal patch? Yes; I just want to get the reliable folio_test_hugetlb done first, and then I have a patch series ready to go. The timing is a bit suspect too; I'd like to give this a few weeks in -next before it gets merged and the merge window starts on Monday. So I think I'll wait until after the merge window to get this sent out. > >