diff options
author | Andrei Vagin <avagin@google.com> | 2021-08-20 19:19:23 -0700 |
---|---|---|
committer | Andrei Vagin <avagin@google.com> | 2021-08-21 01:41:55 -0700 |
commit | 28887fb46fe8f40f75f398c27f0a1f64c01354e4 (patch) | |
tree | 1099fda8e3c131409f7d962353df568e47da4d8c /test/syscalls/linux/rseq/critical.h | |
parent | 0a15a216daab9523a5f0c7b93bbceae98dbcbcc1 (diff) |
platform/kvm: set physical slots without overlapping
Right now, the first slot starts with an address of a memory region and its size is faultBlockSize,
but the second slot starts with (physicalStart + faultBlockSize) & faultBlockMask.
It means they will overlap if a start address of a memory region are not aligned to faultBlockSize.
The kernel doesn't allow to add overlapped regions, but we ignore the EEXIST error.
Signed-off-by: Andrei Vagin <avagin@google.com>
Diffstat (limited to 'test/syscalls/linux/rseq/critical.h')
0 files changed, 0 insertions, 0 deletions