On Wed, Mar 19, 2025 at 12:34:39PM -0600, Keith Busch wrote: > On Wed, Mar 19, 2025 at 12:17:04PM -0600, Alex Williamson wrote: > > Since you mention folding in the changes, are you working on an upstream > > kernel or a downstream backport? Huge pfnmap support was added in > > v6.12 via [1]. Without that you'd never see better than a order-a > > fault. I hope that's it because with all the kernel pieces in place it > > should "Just work". Thanks, > > Yep, this is a backport to 6.11, and I included that series. There were > a few extra patches outside it needed to port that far back, but nothing > difficult. > > Anyway since my last email, things are looking more successful now. We > changed a few things in both user and kernel side, so we're just doing > more tests to confirm what part was the necessary change. Looks like we're okay now. I think the user space part was missing a MADV_HUGEPAGE in one of the paths, so we were never getting the huge faults.