Re: [PATCH v4 7/7] hugetlb: parallelize 1G hugetlb initialization

From: Gang Li
Date: Wed Jan 24 2024 - 22:56:46 EST


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.