projects
/
openvswitch
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
431d470
)
ofproto: Drop unneeded poll_immediate_wake().
author
Ben Pfaff
<blp@nicira.com>
Wed, 29 Sep 2010 19:54:05 +0000
(12:54 -0700)
committer
Ben Pfaff
<blp@nicira.com>
Thu, 7 Oct 2010 17:30:54 +0000
(10:30 -0700)
This poll_immediate_wake() is unnecessary because netflow_run() is always
called afterward within the same poll loop. It's better to delete it, to
avoid wasting CPU.
ofproto/ofproto.c
patch
|
blob
|
history
diff --git
a/ofproto/ofproto.c
b/ofproto/ofproto.c
index 5c871194d840dba2cf35d5db1fe04b29f522d3e2..859f416fe1312ea85baf5bef9103e64ab3d986ad 100644
(file)
--- a/
ofproto/ofproto.c
+++ b/
ofproto/ofproto.c
@@
-4339,10
+4339,6
@@
rule_active_timeout(struct ofproto *ofproto, struct rule *rule)
expired.used = rule->used;
netflow_expire(ofproto->netflow, &rule->nf_flow, &expired);
-
- /* Schedule us to send the accumulated records once we have
- * collected all of them. */
- poll_immediate_wake();
}
}