From: Eliezer Tamir Date: Mon, 10 Jun 2013 08:40:00 +0000 (+0300) Subject: udp: add low latency socket poll support X-Git-Tag: v3.11-rc1~16^2~130^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a5b50476f77a8fcc8055c955720d05a7c2d9c532;p=pandora-kernel.git udp: add low latency socket poll support Add upport for busy-polling on UDP sockets. In __udp[46]_lib_rcv add a call to sk_mark_ll() to copy the napi_id from the skb into the sk. This is done at the earliest possible moment, right after we identify which socket this skb is for. In __skb_recv_datagram When there is no data and the user tries to read we busy poll. Signed-off-by: Alexander Duyck Signed-off-by: Jesse Brandeburg Signed-off-by: Eliezer Tamir Acked-by: Eric Dumazet Tested-by: Willem de Bruijn Signed-off-by: David S. Miller --- Reading git-diff-tree failed