commit | a7c4bd1afd8a3b73a2f92db6b115e55ae6b8a39e | [log] [tgz] |
---|---|---|
author | Tim Murray <timmurray@google.com> | Wed Jan 19 17:06:08 2022 -0800 |
committer | Tim Murray <timmurray@google.com> | Thu Feb 17 11:08:34 2022 -0800 |
tree | 91ce37ba0cee5ea98ca686224872d1c8a3899bbd | |
parent | 00ff352c34cb46d96156cdef69a6acf0bdfa5356 [diff] |
dumpstate: improve performance Two changes: 1. There were some seemingly-unnecessary fsyncs scattered throughout dumpstate. Remove those. 2. Profiling revealed that a significant amount of dumpstate's CPU overhead was spent copying/destroying PTEs around fork/exec. Switch to vfork() to avoid the PTE copies. Test: bug reports work Bug: 215574756 Change-Id: Ib202fd5c8d1f37548ee53bd64eaf4e114098a062