All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] fdt performance
@ 2013-10-17  6:24 Aaron Williams
  2013-10-17  9:48 ` Albert ARIBAUD
                   ` (2 more replies)
  0 siblings, 3 replies; 14+ messages in thread
From: Aaron Williams @ 2013-10-17  6:24 UTC (permalink / raw)
  To: u-boot

Hi all,

In our bootloader based off of 2013.07 we make extensive use of the flat 
device tree. In profiling our bootloader in our simulator I found that 
the function eating up the most time is fdt_next_tag. Looking at it, 
especially fdt_offset_ptr, it looks like there is a lot of room for 
improvement especially in the skip name section.

Some of the checks in fdt_offset_ptr also look useless, such as if 
((offset + len) < offset) which will always be false, or
if (p + len < p)

len is always positive.

-Aaron

-- 
Aaron Williams
Software Engineer
Cavium, Inc.
(408) 943-7198  (510) 789-8988 (cell)

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2014-01-26 16:56 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-10-17  6:24 [U-Boot] fdt performance Aaron Williams
2013-10-17  9:48 ` Albert ARIBAUD
2013-10-17 18:55 ` Wolfgang Denk
2013-10-17 19:04   ` Andre Renaud
2013-10-18 20:11     ` Wolfgang Denk
2013-10-20 18:18       ` Michael Pratt
2013-10-21 19:55         ` Wolfgang Denk
2013-10-22 20:43           ` Michael Pratt
2013-10-23  4:13             ` Wolfgang Denk
2013-10-17 22:27 ` Simon Glass
2013-11-14 23:36   ` Scott Wood
2013-11-14 23:52     ` Simon Glass
2014-01-14  6:13   ` Aaron Williams
2014-01-26 16:56     ` Simon Glass

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.