Re: [PATCH 2/2] mm/mm_init.c: count nr_initialised only for last zone

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

 



On Thu, May 23, 2024 at 05:53:09PM +0300, Mike Rapoport wrote:
>On Wed, May 22, 2024 at 07:29:59AM +0000, Wei Yang wrote:
>> Since we always populate low zones, it is not necessary to count
>> nr_initialised for them. Let's move the last zone check ahead to skip
>> the nr_initialised reset.
>
>We also don't need to count initialized pfns after first_deferred_pfn is
>detected, so the reset of nr_initialised can be moved even lower.
>

Agree, will update in v2.

-- 
Wei Yang
Help you, Help me




[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