mirror of
https://github.com/netbirdio/gvisor.git
synced 2026-05-22 17:12:49 -07:00
kvm: update a region length when it is extended to the left
PiperOrigin-RevId: 443774203
This commit is contained in:
@@ -115,6 +115,7 @@ func fillAddressSpace() (excludedRegions []region) {
|
||||
for i := range excludedRegions {
|
||||
if excludedRegions[i].virtual == addr+current {
|
||||
excludedRegions[i].virtual = addr
|
||||
excludedRegions[i].length += current
|
||||
addr = 0
|
||||
break
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user