[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <dd483e40-f6ad-4fc2-bfc8-468d93e07ea9@linux.dev>
Date: Thu, 25 Jan 2024 11:56:21 +0800
From: Gang Li <gang.li@...ux.dev>
To: Muchun Song <muchun.song@...ux.dev>
Cc: Linux-MM <linux-mm@...ck.org>, LKML <linux-kernel@...r.kernel.org>,
ligang.bdlg@...edance.com, David Hildenbrand <david@...hat.com>,
David Rientjes <rientjes@...gle.com>, Mike Kravetz
<mike.kravetz@...cle.com>, Andrew Morton <akpm@...ux-foundation.org>,
Tim Chen <tim.c.chen@...ux.intel.com>
Subject: Re: [PATCH v4 7/7] hugetlb: parallelize 1G hugetlb initialization
On 2024/1/25 10:48, Muchun Song wrote:
>>>> + if (huge_boot_pages[0].next == NULL) {
>>> It it not intuitive. I'd like to use a 'initialied' variable
>>
>> Would it make the code look a bit redundant?
>
> What is redundant?
>
I was thinking of adding a global variable at first, but it's possible
to add a local static variable, which is more concise.
Powered by blists - more mailing lists