[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20141029110528.GE23982@zion.uk.xensource.com>
Date: Wed, 29 Oct 2014 11:05:28 +0000
From: Wei Liu <wei.liu2@...rix.com>
To: David Vrabel <david.vrabel@...rix.com>
CC: <netdev@...r.kernel.org>, <xen-devel@...ts.xenproject.org>,
Ian Campbell <ian.campbell@...rix.com>,
Wei Liu <wei.liu2@...rix.com>,
Zoltan Kiss <zoltan.kiss@...aro.org>
Subject: Re: [PATCH 2/2] xen-netback: Remove __GFP_COLD
On Tue, Oct 28, 2014 at 03:29:31PM +0000, David Vrabel wrote:
> From: Zoltan Kiss <zoltan.kiss@...aro.org>
>
> This flag is unnecessary, it came from some old code.
>
> Suggested-by: Eric Dumazet <eric.dumazet@...il.com>
> Signed-off-by: Zoltan Kiss <zoltan.kiss@...aro.org>
> Signed-off-by: David Vrabel <david.vrabel@...rix.com>
Acked-by: Wei Liu <wei.liu2@...rix.com>
> ---
> drivers/net/xen-netback/netback.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/net/xen-netback/netback.c b/drivers/net/xen-netback/netback.c
> index 25f4c06..730252c 100644
> --- a/drivers/net/xen-netback/netback.c
> +++ b/drivers/net/xen-netback/netback.c
> @@ -1550,7 +1550,7 @@ static int xenvif_handle_frag_list(struct xenvif_queue *queue, struct sk_buff *s
> unsigned int len;
>
> BUG_ON(i >= MAX_SKB_FRAGS);
> - page = alloc_page(GFP_ATOMIC|__GFP_COLD);
> + page = alloc_page(GFP_ATOMIC);
> if (!page) {
> int j;
> skb->truesize += skb->data_len;
> --
> 1.7.10.4
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists