[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <88f16247-aea2-f429-600e-4b54555eb736@intel.com>
Date: Fri, 29 Jun 2018 10:52:28 -0700
From: Dave Hansen <dave.hansen@...el.com>
To: Pavel Tatashin <pasha.tatashin@...cle.com>
Cc: bhe@...hat.com, LKML <linux-kernel@...r.kernel.org>,
Andrew Morton <akpm@...ux-foundation.org>, pagupta@...hat.com,
Linux Memory Management List <linux-mm@...ck.org>,
kirill.shutemov@...ux.intel.com
Subject: Re: [PATCH v5 4/4] mm/sparse: Optimize memmap allocation during
sparse_init()
On 06/29/2018 10:48 AM, Pavel Tatashin wrote:
> Here is example:
> Node1:
> map_map[0] -> Struct pages ...
> map_map[1] -> NULL
> Node2:
> map_map[2] -> Struct pages ...
>
> We always want to configure section from Node2 with struct pages from
> Node2. Even, if there are holes in-between. The same with usemap.
Right... But your example consumes two mem_map[]s.
But, from scanning the code, we increment nr_consumed_maps three times.
Correct?
Powered by blists - more mailing lists