From ab0c2b05289b5a78bf2352380fcd812ce0d79994 Mon Sep 17 00:00:00 2001 From: Richard Fuchs Date: Mon, 6 Jan 2025 11:05:11 -0400 Subject: [PATCH] MT#61822 check for break before warning Change-Id: I244675f88f19ac0361a75e8762e7557497901149 --- daemon/helpers.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/daemon/helpers.c b/daemon/helpers.c index 52ab54537..7e640967a 100644 --- a/daemon/helpers.c +++ b/daemon/helpers.c @@ -306,6 +306,9 @@ static void thread_looper_helper(void *fp) { uring_thread_loop(); + if (ret == TLA_BREAK) + break; + struct timeval stop; gettimeofday(&stop, NULL); long long duration_us = timeval_diff(&stop, &rtpe_now); @@ -317,9 +320,6 @@ static void thread_looper_helper(void *fp) { warn_limit_pct, warn_limit_us / 1000000, warn_limit_us % 1000000); - if (ret == TLA_BREAK) - break; - struct timespec sleeptime = interval_ts; struct timespec remtime; while (true) {