commit | 8f21e1eb81f3a777139d09a5a0fcb04eee04d5e7 | [log] [tgz] |
---|---|---|
author | Alexey Kardashevskiy <aik@ozlabs.ru> | Thu Jul 16 14:33:08 2020 +1000 |
committer | Alexey Kardashevskiy <aik@ozlabs.ru> | Fri Jul 17 11:05:52 2020 +1000 |
tree | 529fe9889e97f1894062f62424b1b358e7b64306 | |
parent | 6184ca06c8d8df9235aef2b5331f9f11b3aff8be [diff] |
fdt: Avoid recursion when traversing tree A loop over peers does not need recursion which becomes a problem with hundreds devices. This was discovered with "-smp 2048,cores=512,threads=4". Suggested-by: Jordan Niethe <jniethe5@gmail.com> Reviewed-by: Greg Kurz <groug@kaod.org> Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>