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 Bug: 345128484 Bug: 346677612 Change-Id: Ia1da66c85e0d58883cf518f10cd33fc5cad387b8 Signed-off-by:Oven <liyangouwen1@oppo.com>
Loading
Please sign in to comment