Re: [RFC PATCH] fix problems with NETIF_F_HIGHDMA in networkingdrivers

From: David Miller
Date: Sun Feb 28 2010 - 03:16:15 EST


From: FUJITA Tomonori <fujita.tomonori@xxxxxxxxxxxxx>
Date: Sun, 28 Feb 2010 03:38:19 +0900

> When I proposed such approach (always use swiotlb) before, IIRC,
> the objections were:
>
> - better to make allocation respect dma_mask. (I don't think that this
> approach is possible since we don't know which device handles data
> later when we allocate memory).

And such objects might end up being processed by multiple devices with
different DMA restrictions.

> - swiotlb is not good for small systems since it allocates too much
> memory (we can fix this though).

Indeed.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/