diff options
author | Josh Gao <jmgao@google.com> | 2019-02-26 17:53:52 -0800 |
---|---|---|
committer | Josh Gao <jmgao@google.com> | 2019-02-27 15:45:59 -0800 |
commit | 86b33be035a63c4465132ca5c462275d6e16dee0 (patch) | |
tree | 3a8627021bbf7cf168b28d33cf41075c0313977c /libunwindstack/tests/MemoryFileTest.cpp | |
parent | bc94667e8e2254ff360a8d75fea25b9117d0cc65 (diff) |
adbd: limit the sizes of aio writes.
The kernel does a kmalloc of the write size for each write during
io_submit, which can lead to failure if the kernel's heap is fragmented
such that it can't allocate a contiguous 1MB chunk. Partition writes
into 16 page chunks which are much more likely to succeed.
Bug: http://b/126582877
Test: test_device.py
Change-Id: Ib2d48561594e1d81f1a2f62e34eaa40265ac47c4
Diffstat (limited to 'libunwindstack/tests/MemoryFileTest.cpp')
0 files changed, 0 insertions, 0 deletions