Re: [PATCH] net: don't use kvzalloc for DMA memory

From: David Miller
Date: Wed Apr 18 2018 - 13:47:29 EST


From: Eric Dumazet <eric.dumazet@xxxxxxxxx>
Date: Wed, 18 Apr 2018 09:51:25 -0700

> I suggest that virtio_net clearly identifies which part needs a specific allocation
> and does its itself, instead of abusing the netdev_priv storage.
>
> Ie use a pointer to a block of memory, allocated by virtio_net, for virtio_net.

+1