mmap issue with 22.04.3 and kernel 6.2
Mathieu Fluhr
mathieu.fluhr at gmail.com
Mon Aug 14 10:54:37 UTC 2023
Hello,
First of all, I apologize if this is not the right place to report a bug,
but for some obscure reason, I cannot login to launchpad with my Ubuntu One
account (I always end up on the "Ooops" page...).
I am compiling (daily) the Android OS (AOSP) which makes a heavy use of
hardware resources and several parts of it relies on the mmap() system
call. Updating to 22.04.3 last Thursday started to trigger several
(non-consistent) build errors, all related to mmap(), claiming that it
can't allocate memory.... which is not consistent with the fact that my
workstation still had 50GB+ free RAM at that time.
Digging a bit into the issue, I found out that it was a known issue, and
that the fix has been merged in the 6.1 LTS kernel [1] but
unfortunately not in 6.2, since the patch appeared after the last 6.2.16
release.
I applied it locally and rebuilt a new kernel, and I can confirm this fixes
the issue.
Could it be possible to think about applying it to the official 6.2 ubuntu
package so that I don't have to always "downgrade" to the old 5.19 coming
from 22.04.2 ?
Kind Regards,
Mathieu
[1]
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/lib/maple_tree.c?h=v6.1.45&id=254ee530286aeb6d6de93d05b2247153df590af1
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-devel-discuss/attachments/20230814/91e6e178/attachment.html>
More information about the Ubuntu-devel-discuss
mailing list