commit | df14d70a54d0c0b5f9daa44af3cf294cbefed87c | [log] [tgz] |
---|---|---|
author | Jerry Zhang <zhangjerry@google.com> | Wed Jan 04 12:34:38 2017 -0800 |
committer | Jerry Zhang <zhangjerry@google.com> | Mon Feb 13 14:20:47 2017 -0800 |
tree | 89d46484ca89463bdb6533d7155f28dfdf551884 | |
parent | 93208e440405f2269015fc596390498e63a4bbd1 [diff] |
adb: Pre allocate kernel memory This allows reliable use of larger buffer sizes. Max r/w size is set only when that preallocation is successful so that memory is guaranteed to be available. Bug: 31722483 Test: adb push with multi GB files Change-Id: Ia0459ca051988abb144645871792e8f840dd3ff7