haiku/headers/private/kernel/vm
Michael Lotz a6926d4287 kernel/vm: Introduce and use VMAddressSpace::AreaRangeIterator.
It iterates over all areas intersecting a given address range and
removes the need for manually skipping uninteresting initial areas. It
uses VMAddressSpace::FindClosestArea() to efficiently find the starting
area.

This speeds up the two iterations in unmap_address_range and one in
wait_if_address_range_is_wired and resolves a TODO in the latter hinting
at such a solution.

Change-Id: Iba1d39942db4e4b27e17706be194496f9d4279ed
Reviewed-on: https://review.haiku-os.org/c/haiku/+/2841
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
2020-05-30 02:29:41 +00:00
..
vm_page.h Add vm_page_free_etc() 2014-10-29 02:36:08 +01:00
vm_priv.h x86: enable data execution prevention 2013-04-04 15:22:23 +02:00
vm_types.h Remove remaining unnecessary 'volatile' qualifiers 2013-11-06 00:03:07 +01:00
vm.h kernel: Make size argument to create_area_etc() size_t. 2018-04-04 00:07:59 +02:00
VMAddressSpace.h kernel/vm: Introduce and use VMAddressSpace::AreaRangeIterator. 2020-05-30 02:29:41 +00:00
VMArea.h kernel/vm: Inline the VMArea::name string. 2019-07-13 13:42:49 -04:00
VMCache.h VMCache: Factor out a _FreePageRange method. 2020-05-30 01:47:40 +00:00
VMTranslationMap.h Add KDL command "mapping" 2013-12-05 05:13:21 +01:00