Large Page support disabled on Raspberry Pi kernels
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux-raspi (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
Focal |
Fix Released
|
Undecided
|
Juerg Haefliger |
Bug Description
[ Impact ]
It appears that large page support and transparent hugepages are disabled in config on the Raspberry Pi. It would be nice if they were enabled in the kernel configuration, even if they are disabled by default. Then they could be set in user-editable config via the "transparent_
With 4GB hardware in this family, there might be valid uses for large pages.
root@ubuntu:
hugeadm:ERROR: kernel does not support huge pages
root@ubuntu:
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 20.04.2 LTS
Release: 20.04
Codename: focal
root@ubuntu:
Linux ubuntu 5.4.0-1038-raspi #41-Ubuntu SMP PREEMPT Thu Jun 17 14:14:11 UTC 2021 aarch64 aarch64 aarch64 GNU/Linux
root@ubuntu:
CONFIG_
CONFIG_
CONFIG_
CONFIG_
# CONFIG_
# CONFIG_HUGETLBFS is not set
[ Test Case ]
See above:
[ Fix ]
Enable HUGETLBFS and TRANSPARENT_
[ Where Problems Could Occur ]
Thess configs enable code that is disabled by default. However, there is minimal stub code running at boot so problems would most likely show up as splats during boot or later on when hugetlbfs is explicitly mounted by systemd.
CVE References
affects: | linux-raspi-5.4 (Ubuntu) → linux-raspi (Ubuntu) |
Changed in linux-raspi (Ubuntu): | |
status: | Confirmed → Invalid |
Changed in linux-raspi (Ubuntu Focal): | |
status: | Confirmed → In Progress |
assignee: | nobody → Juerg Haefliger (juergh) |
description: | updated |
Changed in linux-raspi (Ubuntu Focal): | |
status: | In Progress → Fix Committed |
Status changed to 'Confirmed' because the bug affects multiple users.