Skip to content

Update HUGE_PAGE_SIZE for arm64 with 64k base page#39

Merged
d-tatianin merged 1 commit intoyandex-cloud:masterfrom
ak0rz:support-16G-hugepages
Mar 17, 2026
Merged

Update HUGE_PAGE_SIZE for arm64 with 64k base page#39
d-tatianin merged 1 commit intoyandex-cloud:masterfrom
ak0rz:support-16G-hugepages

Conversation

@ak0rz
Copy link
Contributor

@ak0rz ak0rz commented Mar 13, 2026

See https://docs.kernel.org/arch/arm64/hugetlbpage.html

Encountered issue while was trying to connect qemu-system-aarch64 with memory backed by 16G hugepages to filestore-vhost

2026-03-13T14:10:33.001718Z :NFS_VHOST ERROR: : map_memory:149: unable to remap memory region 0xf77900000000-0xf77d00000000: Invalid argument
2026-03-13T14:10:33.001754Z :NFS_VHOST ERROR: : map_region:193: can't mmap memory: Invalid argument
2026-03-13T14:10:33.001771Z :NFS_VHOST ERROR: : log_vhost_request_failed:1953: /tmp/virtiofsd-1.sock: ADD_MEM_REG (37) request failed: Invalid argument, request payload (40 bytes): 00 00 00 00 00 00 00 00 00 00 00 40 00 00 00 00 00 00 00 00 04 00 00 00 00 00 00 00 FFFFFF00 00 00 00 00 00 00 00 00 00

See https://docs.kernel.org/arch/arm64/hugetlbpage.html

Encountered issue while was trying to connect `qemu-system-aarch64` with memory backed by 16G hugepages to filestore-vhost

```
2026-03-13T14:10:33.001718Z :NFS_VHOST ERROR: : map_memory:149: unable to remap memory region 0xf77900000000-0xf77d00000000: Invalid argument
2026-03-13T14:10:33.001754Z :NFS_VHOST ERROR: : map_region:193: can't mmap memory: Invalid argument
2026-03-13T14:10:33.001771Z :NFS_VHOST ERROR: : log_vhost_request_failed:1953: /tmp/virtiofsd-1.sock: ADD_MEM_REG (37) request failed: Invalid argument, request payload (40 bytes): 00 00 00 00 00 00 00 00 00 00 00 40 00 00 00 00 00 00 00 00 04 00 00 00 00 00 00 00 FFFFFF00 00 00 00 00 00 00 00 00 00
```

Signed-off-By: Andrey Korzinev <ak@nebius.com>
@ak0rz ak0rz force-pushed the support-16G-hugepages branch from a5e5b95 to 84c45c7 Compare March 14, 2026 10:45
@d-tatianin d-tatianin merged commit b19edb7 into yandex-cloud:master Mar 17, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants