From 8a1dbe548322cd36322d870534442c35233ae1f5 Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Mon, 22 Jun 2020 21:18:16 +0200 Subject: [PATCH] Kernel: Silence some debug spam in Scheduler --- Kernel/Scheduler.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Kernel/Scheduler.cpp b/Kernel/Scheduler.cpp index 730b2da7732..311a643d02a 100644 --- a/Kernel/Scheduler.cpp +++ b/Kernel/Scheduler.cpp @@ -388,7 +388,9 @@ bool Scheduler::pick_next() if (thread.dispatch_one_pending_signal() == ShouldUnblockThread::No) return IterationDecision::Continue; if (was_blocked) { +#ifdef SCHEDULER_DEBUG dbg() << "Unblock " << thread << " due to signal"; +#endif ASSERT(thread.m_blocker != nullptr); thread.m_blocker->set_interrupted_by_signal(); thread.unblock();