Re: [PATCH] Hugetlb pages should not be reserved by shmat() if SHM_NORESERVE

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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?





[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux