Skip to content
Snippets Groups Projects
user avatar
Avi Kivity authored
Currently we search the entire vma list while looking for a range.  This
is less than optimal.

Define a vma::addr_compare function object that can be used as comparator
with boost::rbtree::equal_range(), and use that to search for both bounds
simultaneously.

Signed-off-by: default avatarAvi Kivity <avi@cloudius-systems.com>
b17819df
History