diff options
author | Nicholas Piggin <npiggin@gmail.com> | 2019-05-09 19:41:22 +1000 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2020-03-02 07:52:20 +0100 |
commit | b00040b273a1d72676c80f34a7a4ca6e857ed32b (patch) | |
tree | 6693ec52a04e83365a62e0f2a37f662f6f11246e /cpukit/libpci/pci_print.c | |
parent | libfdt: Introduce fdt_create_with_flags() (diff) | |
download | rtems-b00040b273a1d72676c80f34a7a4ca6e857ed32b.tar.bz2 |
libfdt: Add FDT_CREATE_FLAG_NO_NAME_DEDUP flag that trades size for speed
Searching for duplicate names scales O(n^2) with the number of names
added to a fdt, which can cause a noticable slowdown with larger device
trees and very slow CPU cores.
Add FDT_CREATE_FLAG_NO_NAME_DEDUP that allow the caller to trade fdt size
for speed in the creation process.
Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Message-Id: <20190509094122.834-4-npiggin@gmail.com>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions