Commit 63070883 authored by Oven's avatar Oven Committed by Todd Kjos
Browse files

ANDROID: mm: fix incorrect unlock mmap_lock for speculative swap fault



In a20b68c3, SPF is supported for swap
fault. But in __lock_page_or_retry(), it will unlock mmap_lock
unconditionally. That will cause unpaired lock release in handling SPF.

Bug: 333508035
Change-Id: Ia1da66c85e0d58883cf518f10cd33fc5cad387b8
Signed-off-by: default avatarOven <liyangouwen1@oppo.com>
parent 443bd6f9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment