summaryrefslogtreecommitdiff
path: root/libs/input/SpriteController.cpp
diff options
context:
space:
mode:
author Edgar Arriaga <edgararriaga@google.com> 2021-04-05 10:57:37 -0700
committer Edgar Arriaga <edgararriaga@google.com> 2021-06-08 13:27:06 -0700
commita251df62b7d92724e3ad1e924a1536e1b2558690 (patch)
tree85c0b2bad1183d4acf2b631a200bf54bb41647ba /libs/input/SpriteController.cpp
parent3536bf7b5531a6f7a42d1c0366e36a651ebba656 (diff)
cleanups and fixes for process_madvise compaction
some fix suggestions that came up on ag/13665789 and some other cleanups 1. Use unique_fd instead of raw int to keep pidfd 2. Return the total compacted bytes on success for compactProcess 3. Fix for error potentially returning a random value 4. Fix truncation that could happen when calling madvise 5. Fail fast after encountering an error instead of silently advancing to other VMAs when compacting. Bug: 162993824 Test: Manual Signed-off-by: Edgar Arriaga <edgararriaga@google.com> Change-Id: Ide644f66cf0ebdea570dcb365d6a2400ffb18f4e
Diffstat (limited to 'libs/input/SpriteController.cpp')
0 files changed, 0 insertions, 0 deletions