[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20100601.002246.149820849.davem@davemloft.net>
Date: Tue, 01 Jun 2010 00:22:46 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: rusty@...tcorp.com.au
Cc: netdev@...r.kernel.org, mst@...hat.com
Subject: Re: [PATCH] virtio-net: pass gfp to add_buf
From: Rusty Russell <rusty@...tcorp.com.au>
Date: Mon, 31 May 2010 20:40:01 +0930
> From: "Michael S. Tsirkin" <mst@...hat.com>
>
> (Dave: the virtqueue_add_buf_gfp is in Linus' tree, so please queue
> this trivial use now. Thanks!)
>
> virtio-net bounces buffer allocations off to
> a thread if it can't allocate buffers from the atomic
> pool. However, if posting buffers still requires atomic
> buffers, this is unlikely to succeed.
> Fix by passing in the proper gfp_t parameter.
>
> Signed-off-by: Michael S. Tsirkin <mst@...hat.com>
> Signed-off-by: Rusty Russell <rusty@...tcorp.com.au>
Your code sucks, and you're wrong.
Please give me positive feedback and tell me how right I am to pump up
my ego or else I will verbally destroy you and make you feel small.
Applied :-)))))))))))))))
--
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