diff options
author | Jamie Liu <jamieliu@google.com> | 2020-06-09 11:14:24 -0700 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2020-06-09 11:16:05 -0700 |
commit | ecff24930cb2dd5b0910da859d6e712f2f1d32c4 (patch) | |
tree | b43f5cc63e0c141e5e9c624034068049e4e65102 /pkg/sentry/fsimpl | |
parent | 20afd66e019bf0aaaf66e854135cd2c0fe0dfd92 (diff) |
Ensure pgalloc.MemoryFile.fileSize is always chunk-aligned.
findAvailableLocked() may return a non-aligned FileRange.End after expansion
since it may round FileRange.Start down to a hugepage boundary.
PiperOrigin-RevId: 315520321
Diffstat (limited to 'pkg/sentry/fsimpl')
0 files changed, 0 insertions, 0 deletions