Re: [PATCH] iommu/vt-d: add NUMA awareness to intel_alloc_coherent()
From: Christoph Hellwig
Date: Thu Apr 02 2020 - 02:56:36 EST
On Wed, Apr 01, 2020 at 03:53:38PM -0700, Eric Dumazet wrote:
>
>
> On 2/2/18 10:59 AM, Eric Dumazet wrote:
> > On Fri, Feb 2, 2018 at 10:53 AM, Christoph Hellwig <hch@xxxxxxxxxxxxx> wrote:
> >> I've got patches pending to replace all that code with
> >> dma_direct_alloc, which will do the right thing. They were
> >> submitted for 4.16, and I will resend them after -rc1.
> >
> > I see, thanks Christoph !
> >
>
> Hi Christoph
>
> It seems 4.16 has shipped ( :) ) , and intel_alloc_coherent() still has no NUMA awareness.
Actually, that code went in and then got reverted again..
> Should I respin https://lore.kernel.org/patchwork/patch/884326/
Maybe. We are still hoping to convert intel-iommu to the dma-iommu
framework, but I'm not sure how long that is going to take, so maybe
just respin it for now.