diff options
author | Simon Glass <sjg@chromium.org> | 2022-07-30 15:52:07 -0600 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2022-08-12 08:14:23 -0400 |
commit | 72b338aa2cd4afff8e92ab28199bc2db073cfea7 (patch) | |
tree | ef3330fd92fb137089563680907562a4989d15a5 /common | |
parent | 5063ced278e0093bdf926bc832a804f09fd3bd66 (diff) | |
download | u-boot-72b338aa2cd4afff8e92ab28199bc2db073cfea7.tar.gz |
dm: core: Add a note about how livetree updates work
The unflattening algorithm results in a single block of memory being
allocated for the whole tree. When writing new properties, these are
allocated new memory outside that block. When the block is freed, the
allocated properties remain.
Document how this works and the potential memory leak, as well as
mentioning that updating the livetree is actually supported now.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'common')
0 files changed, 0 insertions, 0 deletions