From 53e6050ee0c785d45e5e3f94fe0f7e0c0765b164 Mon Sep 17 00:00:00 2001 From: Ryan Fleury Date: Mon, 16 Jun 2025 09:10:25 -0700 Subject: [PATCH] outer loop timeout exit condition in ctrl process memory cache lookup --- src/ctrl/ctrl_core.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/ctrl/ctrl_core.c b/src/ctrl/ctrl_core.c index e996b72f..aaf85595 100644 --- a/src/ctrl/ctrl_core.c +++ b/src/ctrl/ctrl_core.c @@ -1790,6 +1790,12 @@ ctrl_key_from_process_vaddr_range(CTRL_Handle process, Rng1U64 vaddr_range, B32 { break; } + + //- rjf: step 5: exit if out of time + if(os_now_microseconds() >= endt_us) + { + break; + } } if(out_is_stale) {