Skip to content
Commit dd3f538b authored by Suren Baghdasaryan's avatar Suren Baghdasaryan
Browse files

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: default avatarSuren Baghdasaryan <surenb@google.com>
Change-Id: I3ffd907ca275154e89db598d75c238abb4b23a92
parent 575ad9a2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment