git://git.onelab.eu
/
sliver-openvswitch.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix dependencies for external nodes
[sliver-openvswitch.git]
/
lib
/
poll-loop.c
diff --git
a/lib/poll-loop.c
b/lib/poll-loop.c
index
7e328bc
..
9855306
100644
(file)
--- a/
lib/poll-loop.c
+++ b/
lib/poll-loop.c
@@
-16,7
+16,6
@@
#include <config.h>
#include "poll-loop.h"
#include <config.h>
#include "poll-loop.h"
-#include <assert.h>
#include <errno.h>
#include <inttypes.h>
#include <poll.h>
#include <errno.h>
#include <inttypes.h>
#include <poll.h>
@@
-166,8
+165,8
@@
log_wakeup(const char *where, const struct pollfd *pollfd, int timeout)
cpu_usage = get_cpu_usage();
if (VLOG_IS_DBG_ENABLED()) {
level = VLL_DBG;
cpu_usage = get_cpu_usage();
if (VLOG_IS_DBG_ENABLED()) {
level = VLL_DBG;
- } else if (cpu_usage > 50 && !VLOG_DROP_
WARN
(&rl)) {
- level = VLL_
WARN
;
+ } else if (cpu_usage > 50 && !VLOG_DROP_
INFO
(&rl)) {
+ level = VLL_
INFO
;
} else {
return;
}
} else {
return;
}
@@
-289,7
+288,7
@@
static struct poll_waiter *
new_waiter(int fd, short int events, const char *where)
{
struct poll_waiter *waiter = xzalloc(sizeof *waiter);
new_waiter(int fd, short int events, const char *where)
{
struct poll_waiter *waiter = xzalloc(sizeof *waiter);
- assert(fd >= 0);
+
ovs_
assert(fd >= 0);
waiter->fd = fd;
waiter->events = events;
waiter->where = where;
waiter->fd = fd;
waiter->events = events;
waiter->where = where;