diff options
author | Suren Baghdasaryan <surenb@google.com> | 2024-03-14 15:53:20 -0700 |
---|---|---|
committer | mdb:android-git <superproject-auto-update@invalid> | 2024-04-03 18:11:21 +0000 |
commit | ec7df9616272cef11525036e08a5e93d47499dd6 (patch) | |
tree | 11444d16c610ed0039160613a2075f3b53f2e767 | |
parent | c0dab113085a6df90c596af921a78436432afa5e (diff) | |
download | superproject-ec7df9616272cef11525036e08a5e93d47499dd6.tar.gz |
ANDROID: fix isolate_migratepages_range return value
When [1] was cherry-picked from 5.10 into 5.15 kernel, it modified
the variable used to store isolate_migratepages_block() return value
like it was done in 5.10. However in 5.15 the variable used to store
the return value is different. As a result, failure to isolate a block
is not reported back to the caller. Fix by restoring the original
code and using the right variable to store the return value.
[1] ANDROID: mm: do not allow file-backed pages from CMA
Bug: 332690119
Bug: 326556976
Change-Id: I06900eb43de356584ff63acfe6e994f11610b494
Signed-off-by: Suren Baghdasaryan <surenb@google.com>
(cherry picked from commit ae4e545e708dcd64b07c4012f14459afede95261)
m--------- | common | 0 |
1 files changed, 0 insertions, 0 deletions
diff --git a/common b/common -Subproject 233fe0bba10da2d697bbf31226edc0e1938f57d +Subproject 49e0f767ba2c3edf1652a2a768b6cb54c88d358 |