Skip to main content

shootdown_range

Function shootdown_range 

Source
pub fn shootdown_range(start: VirtAddr, end: VirtAddr)
Expand description

Invalidate a range of pages on all CPUs.

Falls back to shootdown_all when the range exceeds TLB_RANGE_THRESHOLD_PAGES pages, because a full CR3 reload is cheaper than that many invlpg instructions on both the initiating and receiving CPUs.