Re: [PATCH 1/3] mm/mmu_notifier: let interval notifiers block THP

From: David Hildenbrand (Arm)

Date: Thu Jun 25 2026 - 07:51:11 EST


On 6/25/26 12:59, Yitao Jiang wrote:
> Some secondary MMUs cannot safely tolerate a user VMA becoming backed
> by transparent huge pages after the range has been registered with an
> interval notifier. Drivers can observe the page-table layout change
> through invalidations, but devices without replayable faults, or ranges
> that must stay mapped,

Then you shouldn't be using MMU notifiers.

Use good old nasty page pinning. :)

--
Cheers,

David