Skip to content
Commit 7278af5f authored by Mark Brown's avatar Mark Brown
Browse files

regmap: rbtree: Use range information to allocate nodes



If range information has been provided then when we allocate a rbnode
within a range allocate the entire range. The goal is to minimise the
number of reallocations done when combining or extending blocks. At
present only readability and yes_ranges are taken into account, this is
expected to cover most cases efficiently.

Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
parent 0186645d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment