** This bug is no longer a duplicate of bug 1933627
HUGETLBFS is disabled
** Changed in: linux-raspi (Ubuntu)
Status: Confirmed => Invalid
** Changed in: linux-raspi (Ubuntu Focal)
Status: Confirmed => In Progress
** Changed in: linux-raspi (Ubuntu Focal)
Assignee: (unassigned) => Juerg Haefliger (juergh)
** Description changed:
+ [ 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_hugepage" boot option.
With 4GB hardware in this family, there might be valid uses for large
pages.
-
root@ubuntu:/home/ubuntu# hugeadm --explain
hugeadm:ERROR: kernel does not support huge pages
-
root@ubuntu:/home/ubuntu# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 20.04.2 LTS
Release: 20.04
Codename: focal
-
root@ubuntu:/home/ubuntu# uname -a
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:/home/ubuntu# grep -i huge /boot/config-5.4.0-1038-raspi
CONFIG_SYS_SUPPORTS_HUGETLBFS=y
CONFIG_ARCH_WANT_HUGE_PMD_SHARE=y
CONFIG_HAVE_ARCH_TRANSPARENT_HUGEPAGE=y
CONFIG_HAVE_ARCH_HUGE_VMAP=y
# CONFIG_TRANSPARENT_HUGEPAGE is not set
# CONFIG_HUGETLBFS is not set
+
+ [ Test Case ]
+
+ See above:
+
+ [ Fix ]
+
+ Enable HUGETLBFS and TRANSPARENT_HUGEPAGE to match the master kernel and
+ hirsure and later raspi kernels.
+
+ [ 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.
--
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-raspi in Ubuntu.
https://bugs.launchpad.net/bugs/1933532
Title:
Large Page support disabled on Raspberry Pi kernels
Status in linux-raspi package in Ubuntu:
Invalid
Status in linux-raspi source package in Focal:
In Progress
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_hugepage" boot option.
With 4GB hardware in this family, there might be valid uses for large
pages.
root@ubuntu:/home/ubuntu# hugeadm --explain
hugeadm:ERROR: kernel does not support huge pages
root@ubuntu:/home/ubuntu# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 20.04.2 LTS
Release: 20.04
Codename: focal
root@ubuntu:/home/ubuntu# uname -a
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:/home/ubuntu# grep -i huge /boot/config-5.4.0-1038-raspi
CONFIG_SYS_SUPPORTS_HUGETLBFS=y
CONFIG_ARCH_WANT_HUGE_PMD_SHARE=y
CONFIG_HAVE_ARCH_TRANSPARENT_HUGEPAGE=y
CONFIG_HAVE_ARCH_HUGE_VMAP=y
# CONFIG_TRANSPARENT_HUGEPAGE is not set
# CONFIG_HUGETLBFS is not set
[ Test Case ]
See above:
[ Fix ]
Enable HUGETLBFS and TRANSPARENT_HUGEPAGE to match the master kernel
and hirsure and later raspi kernels.
[ 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.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-raspi/+bug/1933532/+subscriptions
--
Mailing list: https://launchpad.net/~kernel-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~kernel-packages
More help : https://help.launchpad.net/ListHelp