[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <2d6fa6b6-db90-4ba8-9205-437593bc2f9b@linux.alibaba.com>
Date: Mon, 5 Feb 2024 16:23:46 +0800
From: Baolin Wang <baolin.wang@...ux.alibaba.com>
To: Muchun Song <muchun.song@...ux.dev>
Cc: Andrew Morton <akpm@...ux-foundation.org>,
Oscar Salvador <osalvador@...e.de>, David Hildenbrand <david@...hat.com>,
Michal Hocko <mhocko@...nel.org>, Linux-MM <linux-mm@...ck.org>,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] mm: hugetlb: fix hugetlb allocation failure when handling
freed or in-use hugetlb
On 2/5/2024 2:56 PM, Muchun Song wrote:
>
>
>> On Feb 5, 2024, at 11:54, Baolin Wang <baolin.wang@...ux.alibaba.com> wrote:
>>
>> When handling the freed hugetlb or in-use hugetlb, we should ignore the
>> failure of alloc_buddy_hugetlb_folio() to dissolve the old hugetlb successfully,
>> since we did not use the new allocated hugetlb in this 2 cases.
>>
>> Signed-off-by: Baolin Wang <baolin.wang@...ux.alibaba.com>
>
> OK. It is not a fix (I see a fix keyword in subject) but an
> optimization for unnecessary-allocation cases. Thanks.
Yes, better to change the subject to 'mm: hugetlb: improve the handling
of hugetlb allocation failure for freed or in-use hugetlb'
Andrew, could you help to change the subject line when you apply it? (or
you want a new version, please let me know) Thanks.
> Reviewed-by: Muchun Song <muchun.song@...ux.dev>
Thanks for reviewing.
Powered by blists - more mailing lists