commit | 4e9ffd6e15564a3d38a83361e336fe61bfa608ef | [log] [tgz] |
---|---|---|
author | Lorenzo Colitti <lorenzo@google.com> | Wed Aug 09 16:45:19 2017 +0900 |
committer | Lorenzo Colitti <lorenzo@google.com> | Thu Aug 10 18:31:44 2017 +0900 |
tree | 1cfb7229a31b6afe08e850690830870f1b10df25 | |
parent | 341d3a04ae17da2cf5a6e9977ef7af0ea28bc14c [diff] |
Start the iptables and ip6tables processes in parallel. This saves ~30ms on boot. There should be no races between the threads that start the and the main thread because pthread_join is documented to synchronize memory with respect to other threads. Bug: 28362720 Test: bullhead builds, boots Test: netd_{unit,integration}_test pass Change-Id: I24d83b880bd011bc801178f57f46d90f36621f9f