[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <DABF55CE-C02E-4676-A872-0813D22CF453@linux.dev>
Date: Tue, 20 Sep 2022 11:18:57 +0800
From: Muchun Song <muchun.song@...ux.dev>
To: Xin Hao <xhao@...ux.alibaba.com>
Cc: Mike Kravetz <mike.kravetz@...cle.com>,
Muchun Song <songmuchun@...edance.com>,
Andrew Morton <akpm@...ux-foundation.org>,
Linux MM <linux-mm@...ck.org>, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v4] mm/hugetlb: add available_huge_pages() func
> On Sep 20, 2022, at 09:51, Xin Hao <xhao@...ux.alibaba.com> wrote:
>
> In hugetlb.c file, there are several places to compare the values of
> 'h->free_huge_pages' and 'h->resv_huge_pages', it looks a bit messy, so
> there add a new available_huge_pages() func to do these.
>
> Signed-off-by: Xin Hao <xhao@...ux.alibaba.com>
> Reviewed-by: Mike Kravetz <mike.kravetz@...cle.com>
Reviewed-by: Muchun Song <songmuchun@...edance.com>
Thanks.
Powered by blists - more mailing lists