[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200314011245.GB8518@MiWiFi-R3L-srv>
Date: Sat, 14 Mar 2020 09:12:45 +0800
From: Baoquan He <bhe@...hat.com>
To: Michal Hocko <mhocko@...nel.org>
Cc: linux-kernel@...r.kernel.org, willy@...radead.org,
linux-mm@...ck.org, akpm@...ux-foundation.org, david@...hat.com,
richard.weiyang@...il.com
Subject: Re: [PATCH v3] mm/sparse.c: Use kvmalloc_node/kvfree to alloc/free
memmap for the classic sparse
On 03/13/20 at 03:56pm, Michal Hocko wrote:
> On Thu 12-03-20 22:17:49, Baoquan He wrote:
> > This change makes populate_section_memmap()/depopulate_section_memmap
> > much simpler.
>
> Not only and you should make it more explicit. It also tries to allocate
> memmaps from the target numa node so this is a functional change. I
> would prefer to have that in a separate patch in case we hit some weird
> NUMA setups which would choke on memory less nodes and similar horrors.
>
> > Suggested-by: Michal Hocko <mhocko@...nel.org>
> > Signed-off-by: Baoquan He <bhe@...hat.com>
>
> I do not see any reason this shouldn't work. Btw. did you get to test
> it?
Forget replying to this comment. Yes, I have tested it before each post.
Powered by blists - more mailing lists