Skip to content

Conversation

@copybara-service
Copy link

kvm: limit virtual address space to 47-bit on amd64

  • There are no known use cases requiring the extended address space.
  • By restricting the size, we avoid the overhead of:
    a) Aligning the virtual address space size to the physical
    address space size.
    b) Creating unnecessary page table entries for the unused
    extended range.
  • The memory slot size is currently configured only to cover
    the default 47-bit address space.
  • 5-level page table support was primarily introduced to workaround
    a specific kernel bug where VDSO could be mapped above the 47-bit
    boundary (v6.9-rc1186^27).

Updates #12308

@copybara-service copybara-service bot added the exported Issue was exported automatically label Dec 17, 2025
* There are no known use cases requiring the extended address space.
* By restricting the size, we avoid the overhead of:
   a) Aligning the virtual address space size to the physical
      address space size.
   b) Creating unnecessary page table entries for the unused
      extended range.
* The memory slot size is currently configured only to cover
  the default 47-bit address space.
* 5-level page table support was primarily introduced to workaround
   a specific kernel bug where VDSO could be mapped above the 47-bit
   boundary (v6.9-rc1~186^2~7).

Updates #12308

PiperOrigin-RevId: 853588111
@copybara-service copybara-service bot merged commit 5aa1942 into master Jan 8, 2026
0 of 2 checks passed
@copybara-service copybara-service bot deleted the test/cl845852358 branch January 8, 2026 08:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

exported Issue was exported automatically

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant