ppc64el: Switch default page size from 64K to 4K
I'm submitting this for discussion: jxself/package-helpers@481e5ead
Some programs assume a 4K page size and encounter issues when running with 64K pages. A notable example is the Nouveau driver, which fails to function correctly with 64K pages due to hardcoded assumptions in its memory management. Switching the default page size to 4K ensures broader compatibility with such software and improves system stability.
This change updates the kernel configuration:
- CONFIG_PPC_4K_PAGES = 'Y' (enabled)
- CONFIG_PPC_64K_PAGES = 'N' (disabled)
While 64K pages offer some performance benefits in certain workloads, compatibility and functionality should take precedence in this case.
For more information, please see:
https://www.talospace.com/2020/10/where-did-64k-page-size-come-from.html
https://gitlab.freedesktop.org/xorg/driver/xf86-video-nouveau/-/issues/258
https://trisquel.info/en/forum/trisquel-nouveau-and-page-sizes-power9