[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <fb688bd2-f669-4407-b7c0-d50da7df7118@linux.dev>
Date: Thu, 11 Jan 2024 11:44:46 +0800
From: Gang Li <gang.li@...ux.dev>
To: Tim Chen <tim.c.chen@...ux.intel.com>
Cc: linux-mm@...ck.org, Andrew Morton <akpm@...ux-foundation.org>,
Mike Kravetz <mike.kravetz@...cle.com>, linux-kernel@...r.kernel.org,
David Rientjes <rientjes@...gle.com>, David Hildenbrand <david@...hat.com>,
ligang.bdlg@...edance.com, Muchun Song <muchun.song@...ux.dev>,
Gang Li <gang.li@...ux.dev>
Subject: Re: [PATCH v3 2/7] hugetlb: split hugetlb_hstate_alloc_pages
On 2024/1/11 07:12, Tim Chen wrote:
> On Tue, 2024-01-02 at 21:12 +0800, Gang Li wrote:
>> +static unsigned long __init hugetlb_hstate_alloc_pages_gigantic(struct hstate *h)
>> +{
>> + unsigned long i;
>> +
>> + for (i = 0; i < h->max_huge_pages; ++i) {
>> + /*
>> + * gigantic pages not added to list as they are not
>> + * added to pools now.
>> + */
>
> This comment unnecessary as now we don't have mix gigantic and non-gigantic code,
> which uses foilio list. And folio_list is not in this routine.
>
> Can be removed.
>
> Otherwise Reviewed-by: Tim Chen <tim.c.chen@...ux.intel.com>
>
Thanks!
Powered by blists - more mailing lists