Re: [PATCH mm-hotfixes] mm/huge_memory: use correct flags for device private PMD entry

From: Dev Jain

Date: Fri Jun 05 2026 - 09:31:29 EST




On 05/06/26 3:37 pm, Lorenzo Stoakes wrote:
> By the way,
>
> I think maybe the reason you didn't hit this in your work on the spurious
> warning stuff for hmm-tests is that I also had to set CONFIG_DEVICE_PRIVATE
> (as well as CONFIG_TEST_HMM) to get this to trigger.
>
> I think the reason others maybe didn't see it is because the self tests
> will just skip the hmm tests if CONFIG_TEST_HMM is not set.

I have all of that set, still can't hit this.

Instead, I hit something else when I was doing some other work -
https://lore.kernel.org/all/3a25e7fd-84a7-49a6-92a3-96492fe5d2cc@xxxxxxx/


>
> Cheers, Lorenzo