From: Andrew J. Bennieston Date: Wed, 4 Jun 2014 09:30:41 +0000 (+0100) Subject: xen-netback: Move grant_copy_op array back into struct xenvif. X-Git-Tag: omap-for-v3.16/fixes-against-rc1~36^2~76^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a55d9766cecf2b1b9af4fcf93b2d41b71e599c76;p=pandora-kernel.git xen-netback: Move grant_copy_op array back into struct xenvif. This array was allocated separately in commit ac3d5ac2 ("xen-netback: fix guest-receive-side array sizes") due to it being very large, and a struct xenvif is allocated as the netdev_priv part of a struct net_device, i.e. via kmalloc() but falling back to vmalloc() if the initial alloc. fails. In preparation for the multi-queue patches, where this array becomes part of struct xenvif_queue and is always allocated through vzalloc(), move this back into the struct xenvif. Signed-off-by: Andrew J. Bennieston Acked-by: Wei Liu Signed-off-by: David S. Miller --- Reading git-diff-tree failed