07.08.2023 19:37, Richard Henderson wrote:
We will want to be able to search the set of mappings. For this patch, the two users iterate the tree in order.
diff --git a/include/qemu/selfmap.h b/include/qemu/selfmap.h
/** * read_self_maps: * * Read /proc/self/maps and return a list of MapInfo structures.
Nitpick: this comment still says "a list", while in all other places it has been changed to "a tree".
*/ -GSList *read_self_maps(void); +IntervalTreeRoot *read_self_maps(void);
/mjt