git.samba.org
/
sfrench
/
cifs-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
net: report RCU QS on threaded NAPI repolling
[sfrench/cifs-2.6.git]
/
net
/
core
/
dev.c
diff --git
a/net/core/dev.c
b/net/core/dev.c
index 303a6ff46e4e16296e94ed6b726621abe093e567..9a67003e49db87f3f92b6c6296b3e7a5ca9d9171 100644
(file)
--- a/
net/core/dev.c
+++ b/
net/core/dev.c
@@
-6743,6
+6743,8
@@
static int napi_threaded_poll(void *data)
void *have;
while (!napi_thread_wait(napi)) {
+ unsigned long last_qs = jiffies;
+
for (;;) {
bool repoll = false;
@@
-6767,6
+6769,7
@@
static int napi_threaded_poll(void *data)
if (!repoll)
break;
+ rcu_softirq_qs_periodic(last_qs);
cond_resched();
}
}