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

From: Andrew Morton
Date: Wed Feb 07 2024 - 21:01:19 EST


On Wed, 24 Jan 2024 15:03:15 +0800 Muchun Song <muchun.song@xxxxxxxxx> wrote:

> > Fix is to ensure that hugetlb pages are not reserved for SHM_HUGETLB shared
> > memory in the shmat() call.
> > Signed-off-by: Prakash Sangappa <prakash.sangappa@xxxxxxxxxx>
>
> BTW, it is better to add a Fixes tag to specify which commit
> that this commit aims to fix.

s/better/essential/

However this issue appears to pass the "been there forever" test, so
I'll send it to Linus as-is.