commit | f8b7856506858ee221a17928985d9eb5eccb3842 | [log] [tgz] |
---|---|---|
author | Lokesh Gidra <lokeshgidra@google.com> | Mon Dec 12 18:31:39 2022 +0000 |
committer | Treehugger Robot <treehugger-gerrit@google.com> | Tue Dec 13 02:54:07 2022 +0000 |
tree | 7944c51e1356480c746542a06ee8ce895ed069a2 | |
parent | 7f92fbab86b67b6e1d9aa7b565822156fcc861d8 [diff] |
Handle very old kernel (<4.11) userfaultfd scenario Prior to 4.11, kernel didn't report any userfaultfd features via API ioctl. The basic modes (COPY/ZEROPAGE/WAKE) were supported only on private anonymous mappings. In this CL removed the check for shared mappings as it is not required in copy-mode. Bug: 262209538 Test: Golem (art-opt intel targets) Change-Id: I79539f9f2d63b4709f63623f2fc748e8a3fb1d3b