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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux