summaryrefslogtreecommitdiff
path: root/trusty/coverage/coverage_test.cpp
diff options
context:
space:
mode:
authorAkilesh Kailash <akailash@google.com>2021-03-29 17:16:59 +0000
committerAkilesh Kailash <akailash@google.com>2021-04-30 06:31:12 +0000
commit31e0426489badd78531e7983989c53e944c1f728 (patch)
tree41003d6803970bcedb14a3ed50412c2547b204e8 /trusty/coverage/coverage_test.cpp
parentacc1c5d189fe9c14cfcae940a6bfb415ce1b1060 (diff)
libsnapshot:snapuserd: mmap + msync header after merge
mmap the CowHeader and use msync to flush only the first 4k page after merge is complete. This cuts down ~30 seconds of merge completion time on a 55M incremental OTA with 235k copy operations. Although, this isn't a significant gain but this patch creates a scaffolding for the next set of read-ahead patches. Bug: 183863613 Test: Incremental and Full OTA Signed-off-by: Akilesh Kailash <akailash@google.com> Change-Id: I15bfec91ea1d5bdf4390670bcf406e1015b79299
Diffstat (limited to 'trusty/coverage/coverage_test.cpp')
0 files changed, 0 insertions, 0 deletions