Re: [Qemu-devel] [PATCH 08/16] tap: insert tap_can_send() into tap_send()

2010-03-17 Thread Anthony Liguori
On 03/11/2010 10:55 AM, Juan Quintela wrote: This way we can remove the poll test Signed-off-by: Juan Quintela Won't this cause unnecessary wake ups? Right now, we use the can_read() poll function to determine whether to add an fd to a fdset. With this patch, we always add the fd to the

[Qemu-devel] [PATCH 08/16] tap: insert tap_can_send() into tap_send()

2010-03-11 Thread Juan Quintela
This way we can remove the poll test Signed-off-by: Juan Quintela --- net/tap.c | 27 +-- 1 files changed, 9 insertions(+), 18 deletions(-) diff --git a/net/tap.c b/net/tap.c index 7a7320c..3ab65a3 100644 --- a/net/tap.c +++ b/net/tap.c @@ -61,17 +61,15 @@ typedef stru