This has annoyed me for a while, thanks.

Acked-by: Ethan Jackson <et...@nicira.com>

On Fri, Feb 1, 2013 at 10:48 AM, Ben Pfaff <b...@nicira.com> wrote:
> These can happen occasionally in normal circumstances.
>
> Signed-off-by: Ben Pfaff <b...@nicira.com>
> ---
>  lib/poll-loop.c |    4 ++--
>  1 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/lib/poll-loop.c b/lib/poll-loop.c
> index fca1dfa..9855306 100644
> --- a/lib/poll-loop.c
> +++ b/lib/poll-loop.c
> @@ -165,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;
> -    } 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;
>      }
> --
> 1.7.2.5
>
> _______________________________________________
> dev mailing list
> dev@openvswitch.org
> http://openvswitch.org/mailman/listinfo/dev
_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev

Reply via email to