On Fri, 19 Jan 2024 17:17:52 -0800 Prakash Sangappa <prakash.sangappa@xxxxxxxxxx> wrote: > For shared memory of type SHM_HUGETLB, hugetlb pages are reserved in > shmget() call. If SHM_NORESERVE flags is specified then the hugetlb > pages are not reserved. However when the shared memory is attached > with the shmat() call the hugetlb pages are getting reserved incorrectly > for SHM_HUGETLB shared memory created with SHM_NORESERVE. > > Ensure that the hugetlb pages are no reserved for SHM_HUGETLB shared > memory in the shmat() call. Thanks. What are the userspace-visible effects of this change? Based on that, is a -stable backport desirable? And can we please identify a suitable Fixes: target for this?