Re: [RFC PATCH 13/37] mm: implement speculative handling in __handle_mm_fault().

2021-04-07 Thread Andy Lutomirski
On 4/6/21 6:44 PM, Michel Lespinasse wrote: > The page table tree is walked with local irqs disabled, which prevents > page table reclamation (similarly to what fast GUP does). The logic is > otherwise similar to the non-speculative path, but with additional > restrictions: in the speculative path,

[RFC PATCH 13/37] mm: implement speculative handling in __handle_mm_fault().

2021-04-06 Thread Michel Lespinasse
The page table tree is walked with local irqs disabled, which prevents page table reclamation (similarly to what fast GUP does). The logic is otherwise similar to the non-speculative path, but with additional restrictions: in the speculative path, we do not handle huge pages or wiring new pages tab