commit | 876f863615f341236004e0c3cd47125311e4c2d4 | [log] [tgz] |
---|---|---|
author | reveman <reveman@chromium.org> | Sat Jan 24 02:03:31 2015 |
committer | Commit bot <commit-bot@chromium.org> | Sat Jan 24 02:05:07 2015 |
tree | a3c1cd22fb2d7e7c1b68b1e5863b3209f0e9a4dd | |
parent | c9ff196ec6e6b4da30c06631b30a2cea961dbfbb [diff] |
base: Improve DiscardableSharedMemory support for ashmem. Locking can now succeed even when the range of pages has been purged. This avoids unnecessary IPC as it reduces the need to create new DiscardableSharedMemory instances when backed by ashmem. BUG=429416 TEST=base_unittests --gtest_filter=DiscardableSharedMemoryTest* Review URL: https://codereview.chromium.org/871043003 Cr-Commit-Position: refs/heads/master@{#312992}