diff options
author | 2022-12-05 21:03:47 +0000 | |
---|---|---|
committer | 2022-12-06 04:50:55 +0000 | |
commit | 926724b88711b86f875756ccdf819269b8fd5773 (patch) | |
tree | 3e8fe8ffbeeeec7bf812b16705cd8b5009e5df00 /compiler/optimizing/builder.cc | |
parent | f716e21fb87e4fd1c875997cf11882352b9fbab5 (diff) |
Handle userfaultfd API ioctl on older kernel hosts
On older kernels on host it's possible that minor-fault feature doesn't
exist, in which case the ioctl may fail with EINVAL. This CL detects the
failure reason and retries the ioctl without it.
Bug: 160737021
Test: art/test/testrunner/testrunner.py --host
Change-Id: Ibd55933ec985f5e62fdaa9dd85ed57d544546d18
Diffstat (limited to 'compiler/optimizing/builder.cc')
0 files changed, 0 insertions, 0 deletions