We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 217f697 commit 21cb84cCopy full SHA for 21cb84c
include/net/busy_poll.h
@@ -58,10 +58,9 @@ static inline unsigned long busy_loop_end_time(void)
58
return busy_loop_us_clock() + ACCESS_ONCE(sysctl_net_busy_poll);
59
}
60
61
-static inline bool sk_can_busy_loop(struct sock *sk)
+static inline bool sk_can_busy_loop(const struct sock *sk)
62
{
63
- return sk->sk_ll_usec && sk->sk_napi_id &&
64
- !need_resched() && !signal_pending(current);
+ return sk->sk_ll_usec && sk->sk_napi_id && !signal_pending(current);
65
66
67
0 commit comments