diff options
author | Eric Dumazet <edumazet@google.com> | 2016-11-15 19:15:12 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-11-16 19:40:58 +0100 |
commit | 21cb84c48ca0619181106f0f44f3802a989de024 (patch) | |
tree | 1d3feac3e20855761e2e0b99105908980b4c18ed /crypto | |
parent | net: busy-poll: allow preemption in sk_busy_loop() (diff) | |
download | linux-21cb84c48ca0619181106f0f44f3802a989de024.tar.xz linux-21cb84c48ca0619181106f0f44f3802a989de024.zip |
net: busy-poll: remove need_resched() from sk_can_busy_loop()
Now sk_busy_loop() can schedule by itself, we can remove
need_resched() check from sk_can_busy_loop()
Also add a const to its struct sock parameter.
Signed-off-by: Eric Dumazet <edumazet@google.com>
Cc: Willem de Bruijn <willemb@google.com>
Cc: Adam Belay <abelay@google.com>
Cc: Tariq Toukan <tariqt@mellanox.com>
Cc: Yuval Mintz <Yuval.Mintz@cavium.com>
Cc: Ariel Elior <ariel.elior@cavium.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'crypto')
0 files changed, 0 insertions, 0 deletions