[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20200403100120.GY22681@dhcp22.suse.cz>
Date: Fri, 3 Apr 2020 12:01:20 +0200
From: Michal Hocko <mhocko@...nel.org>
To: Aslan Bakirov <aslanbekirov@...il.com>
Cc: Ira Weiny <ira.weiny@...el.com>, Aslan Bakirov <aslan@...com>,
akpm@...ux-foundation.org, linux-kernel@...r.kernel.org,
linux-mm@...ck.org, kernel-team@...com, riel@...riel.com,
Roman Gushchin <guro@...com>, hannes@...xchg.org
Subject: Re: [PATCH v3] mm: cma: NUMA node interface
On Fri 03-04-20 10:51:32, Aslan Bakirov wrote:
> On Fri, Apr 3, 2020 at 6:02 AM Ira Weiny <ira.weiny@...el.com> wrote:
>
> > On Thu, Apr 02, 2020 at 07:12:56PM -0700, Aslan Bakirov wrote:
> > > I've noticed that there is no interfaces exposed by CMA which would let
> > me
> > > to declare contigous memory on particular NUMA node.
> > >
> > > This patchset adds the ability to try to allocate contiguous memory on
> > > specific node. It will fallback to other nodes if the specified one
> > > doesn't work.
> > >
> > > Implement a new method for declaring contigous memory on particular node
> > > and keep cma_declare_contiguous() as a wrapper.
> >
> > Is there an additional patch which uses this new interface?
> >
> > Generally the patch seems reasonable but we should have a user.
>
>
> Thanks for the comments. Yes, actually, this is the version 3 of first
> patch ([PATCH 1/2] mm: cma: NUMA node interface)
> of patchset. Second patch, which uses this interface is "[PATCH 2/2] mm:
> hugetlb: Use node interface of cma"
It would have been much more clear to send those two patches together as
you can see.
--
Michal Hocko
SUSE Labs
Powered by blists - more mailing lists