[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAGM2reaWkmCF_DWY1jETsC=NOPC7TGFq3VX06YrTDLAp+X2+AQ@mail.gmail.com>
Date: Wed, 27 Jun 2018 23:19:22 -0400
From: Pavel Tatashin <pasha.tatashin@...cle.com>
To: bhe@...hat.com
Cc: LKML <linux-kernel@...r.kernel.org>,
Andrew Morton <akpm@...ux-foundation.org>,
dave.hansen@...el.com, 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()
> Signed-off-by: Baoquan He <bhe@...hat.com>
>
> Signed-off-by: Baoquan He <bhe@...hat.com>
Please remove duplicated signed-off
> if (!usemap) {
> ms->section_mem_map = 0;
> + nr_consumed_maps++;
Currently, we do not set ms->section_mem_map to 0 when fail to
allocate usemap, only when fail to allocate mmap we set
section_mem_map to 0. I think this is an existing bug.
Reviewed-by: Pavel Tatashin <pasha.tatashin@...cle.com>
Powered by blists - more mailing lists