[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20170214.145919.808498227095540599.davem@davemloft.net>
Date: Tue, 14 Feb 2017 14:59:19 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: brouer@...hat.com
Cc: ttoukan.linux@...il.com, edumazet@...gle.com,
alexander.duyck@...il.com, netdev@...r.kernel.org,
tariqt@...lanox.com, kafai@...com, saeedm@...lanox.com,
willemb@...gle.com, bblanco@...mgrid.com, ast@...nel.org,
eric.dumazet@...il.com, linux-mm@...ck.org
Subject: Re: [PATCH v3 net-next 08/14] mlx4: use order-0 pages for RX
From: Jesper Dangaard Brouer <brouer@...hat.com>
Date: Tue, 14 Feb 2017 20:38:22 +0100
> On Tue, 14 Feb 2017 12:04:26 -0500 (EST)
> David Miller <davem@...emloft.net> wrote:
>
>> One path I see around all of this is full integration. Meaning that
>> we can free pages into the page allocator which are still DMA mapped.
>> And future allocations from that device are prioritized to take still
>> DMA mapped objects.
>
> I like this idea. Are you saying that this should be done per DMA
> engine or per device?
>
> If this is per device, it is almost the page_pool idea.
Per-device is simplest, at least at first.
Maybe later down the road we can try to pool by "mapping entity" be
that a parent IOMMU or something else like a hypervisor managed
page table.
Powered by blists - more mailing lists