ANDROID: x86/mm: fix vm_area_struct leak in speculative pagefault handling
The out-of-tree changes to reuse VMA when speculative pagefault handling fails requires a call to can_reuse_spf_vma which would release the VMA. This part is missing in x86 patch and leads to vm_area_struct leak. Fix this by adding can_reuse_spf_vma call in x86 failt handler, similar to arm64. Fixes: 86ee4a53 ("FROMLIST: x86/mm: add speculative pagefault handling") Bug: 179128258 Test: atest VtsHalNeuralnetworksV1_3TargetTest:VtsHalNeuralnetworksV1_3TargetTest.TestGenerated/MemoryDomainTest -- --abi x86 Signed-off-by:Suren Baghdasaryan <surenb@google.com> Change-Id: I3ffd907ca275154e89db598d75c238abb4b23a92
Loading
Please register or sign in to comment